Electronic apparatus including microphone and control method therefor

ABSTRACT

An electronic device includes a first housing, a second housing connected to at least a portion of the first housing and movable with respect to the first housing, at least one display coupled with at least one of the first housing or the second housing, at least one microphone, at least one sensor and at least one processor. The at least one processor is configured to: obtain first audio data using the at least one microphone; identify that a form of the electronic device is changed according to relative movement of the first housing and the second housing, using the at least one sensor while the first audio data is obtained, identify noise data based on identifying that the form of the electronic device is changed, and obtain second audio data from the first audio data based on the identified noise data. The second audio data may include data in which at least a portion of noise, which is generated based on a change of the form of the electronic device and included in the first audio data, is reduced.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Patent ApplicationNo. PCT/KR2021/014697 designating the United States, filed on Oct. 20,2021, in the Korean Intellectual Property Receiving Office and claimingpriority to Korean Patent Application No. 10-2020-0166523, filed on Dec.2, 2020, in the Korean Intellectual Property Office, and to KoreanPatent Application No. 10-2021-0019791, filed on Feb. 15, 2021, in theKorean Intellectual Property Office. The disclosures of each of theseapplications are incorporated by reference herein in their entireties.

BACKGROUND Field

The disclosure relates to electronic devices including a microphone andmethods for controlling the same.

Description of Related Art

More and more services and additional functions are being providedthrough electronic devices, e.g., smartphones, or other portableelectronic devices. To meet the needs of various users and raise useefficiency of electronic devices, communication service carriers ordevice manufacturers are jumping into competitions to develop electronicdevices with differentiated and diversified functionalities.Accordingly, various functions that are provided through electronicdevices are evolving more and more.

SUMMARY

An electronic device may detect external voice using a microphone,convert the detected external voice into data, and provide the data ofthe external voice (hereinafter, audio data) to an application. Forexample, the electronic device may provide audio data to variousapplications, such as a recording application and a call application,thereby providing various functions to the user.

When the electronic device detects an external voice, not only the voicedesired by the user but also noise around the electronic device may bedetected. For this reason, the audio data provided to the applicationmay also include noise not desired by the user.

In the past, portable electronic devices were typically provided in anon-transformable bar-type form, but transformable portable electronicdevices, such as of a foldable type, rollable type, swivel type, orslidable type, have recently been developed and released. Suchtransformable portable electronic devices may have, e.g., a display thatis folded, unfolded, or rolled and, when the form is transformed, noise(e.g., mechanical impact sound) may be caused due to impact between thestructures (e.g., the housings forming the outer surface of theelectronic device). Further, the transformable portable electronicdevice includes a spring in, e.g., the folded or unfolded portion (e.g.,hinge) and is configured to be transformable automatically orsemi-automatically. If the electronic device is transformed, e.g., whilethe user takes video using the portable electronic device, the noise(e.g., mechanical impact sound) caused when the electronic device istransformed may also be detected (e.g., recorded) and be included in theaudio data and then provided to the application.

According to various example embodiments, an electronic device may beprovided for performing processing for reducing (or removing) noise forobtained audio data if a change of a form of the electronic device isdetected and a method for controlling the same.

According to an embodiment, an electronic device may include a firsthousing, a second housing connected with at least a portion of the firsthousing and movable with respect to the first housing, at least onedisplay coupled with at least one of the first housing or the secondhousing, at least one microphone, at least one sensor, and at least oneprocessor. The at least one processor may be configured to obtain firstaudio data, using the at least one microphone, identify that a form ofthe electronic device is changed according to a relative movement of thefirst housing and the second housing, using the at least one sensor,while the first audio data is obtained, identify noise data based onidentifying that the form of the electronic device is changed, andobtain second audio data from the first audio data, based on theidentified noise data. The second audio data may include data in whichat least a portion of noise, which is generated based on a change of theform of the electronic device and included in the first audio data, isreduced.

According to an embodiment, a method for controlling an electronicdevice may include obtaining first audio data, using at least onemicrophone of the electronic device, identifying that a form of theelectronic device is changed according to a relative movement of a firsthousing of the electronic device and a second housing of the electronicdevice, using at least one sensor of the electronic device, while thefirst audio data is obtained, identifying noise data based onidentifying that the form of the electronic device is changed, andobtaining second audio data from the first audio data, based on theidentified noise data. The second audio data may include data in whichat least a portion of noise, which is generated based on a change of theform of the electronic device and included in the first audio data, isreduced.

According to an embodiment, a non-transitory computer-readablenon-volatile recording medium may store instructions that, whenexecuted, enable at least one processor to obtain first audio data,using at least one microphone of the electronic device, identify that aform of the electronic device is changed according to a relativemovement of a first housing of the electronic device and a secondhousing of the electronic device, using at least one sensor of theelectronic device, while the first audio data is obtained, identifynoise data based on identifying that the form of the electronic deviceis changed, and obtain second audio data from the first audio data,based on the identified noise data. The second audio data may includedata in which at least a portion of noise, which is generated based on achange of the form of the electronic device and included in the firstaudio data, is reduced.

According to an embodiment, the electronic device may providenoise-reduced audio data to an application when a form of the electronicdevice is changed.

According to an embodiment, the electronic device may identify the noisepattern expected to be caused when a form of the electronic device ischanged, providing noise-reduced audio data to the application.

Various effects achievable according to the disclosure are not limitedto the foregoing effects.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing detailed description, taken in conjunction with theaccompanying drawings, in which:

FIG. 1 is a diagram illustrating an example electronic device in anetwork environment according to various embodiments;

FIG. 2A is a block diagram illustrating components included in anelectronic device according to an embodiment;

FIG. 2B is a block diagram illustrating components included in anelectronic device according to an embodiment;

FIG. 3A is a diagram illustrating a view of an unfolded state of anelectronic device according to an embodiment;

FIG. 3B is a diagram illustrating a view of a folded state of anelectronic device according to an embodiment;

FIG. 3C is a diagram illustrating an exploded perspective view of anelectronic device according to an embodiment;

FIG. 4A is a diagram illustrating six-side view of a state in which asecond housing is received in an electronic device according to anembodiment;

FIG. 4B is a diagram illustrating a six-side view of state in which asecond housing is drawn out from an electronic device according to anembodiment;

FIG. 5A is a diagram illustrating a view of a state in which a form of afoldable-type electronic device is changed according to an embodiment;

FIG. 5B is a diagram illustrating a view of a state in which a form of arollable-type electronic device is changed according to an embodiment;

FIG. 5C is a diagram illustrating a view of a state in which a form of aswivel-type electronic device is changed according to an embodiment;

FIG. 5D is a diagram illustrating a view of a state in which a form of aslidable-type electronic device is changed according to an embodiment;

FIG. 6 is a flowchart illustrating an example method for performingnoise processing on audio data based on a change of a form of anelectronic device by the electronic device according to an embodiment;

FIG. 7 is a flowchart illustrating an example method for identifying aspeed at which a form of an electronic device is changed by theelectronic device according to an embodiment;

FIG. 8 is a flowchart illustrating an example method for performingnoise processing on audio data based on a speed at which a form of anelectronic device is changed by the electronic device according to anembodiment;

FIG. 9 is a flowchart illustrating an example method for providing audiodata to an application based on whether a form of an electronic deviceis changed by the electronic device according to an embodiment;

FIG. 10 is a flowchart illustrating an example method for providingaudio data to an application based on a running application by anelectronic device according to an embodiment; and

FIG. 11 illustrates an example of a screen displayed on a display when aform of an electronic device is changed according to an embodiment.

DETAILED DESCRIPTION

FIG. 1 is a block diagram illustrating an example electronic device 101in a network environment 100 according to various embodiments.

Referring to FIG. 1 , the electronic device 101 in the networkenvironment 100 may communicate with at least one of an electronicdevice 102 via a first network 198 (e.g., a short-range wirelesscommunication network), or an electronic device 104 or a server 108 viaa second network 199 (e.g., a long-range wireless communicationnetwork). According to an embodiment, the electronic device 101 maycommunicate with the electronic device 104 via the server 108. Accordingto an embodiment, the electronic device 101 may include a processor 120,memory 130, an input module 150, a sound output module 155, a displaymodule 160, an audio module 170, a sensor module 176, an interface 177,a connecting terminal 178, a haptic module 179, a camera module 180, apower management module 188, a battery 189, a communication module 190,a subscriber identification module (SIM) 196, or an antenna module 197.In various embodiments, at least one (e.g., the connecting terminal 178)of the components may be omitted from the electronic device 101, or oneor more other components may be added in the electronic device 101.According to an embodiment, some (e.g., the sensor module 176, thecamera module 180, or the antenna module 197) of the components may beintegrated into a single component (e.g., the display module 160).

The processor 120 may execute, for example, software (e.g., a program140) to control at least one other component (e.g., a hardware orsoftware component) of the electronic device 101 coupled with theprocessor 120, and may perform various data processing or computation.According to an embodiment, as at least part of the data processing orcomputation, the processor 120 may store a command or data received fromanother component (e.g., the sensor module 176 or the communicationmodule 190) in volatile memory 132, process the command or the datastored in the volatile memory 132, and store resulting data innon-volatile memory 134. According to an embodiment, the processor 120may include a main processor 121 (e.g., a central processing unit (CPU)or an application processor (AP)), or an auxiliary processor 123 (e.g.,a graphics processing unit (GPU), a neural processing unit (NPU), animage signal processor (ISP), a sensor hub processor, or a communicationprocessor (CP)) that is operable independently from, or in conjunctionwith, the main processor 121. For example, when the electronic device101 includes the main processor 121 and the auxiliary processor 123, theauxiliary processor 123 may be configured to use lower power than themain processor 121 or to be specified for a designated function. Theauxiliary processor 123 may be implemented as separate from, or as partof the main processor 121.

The auxiliary processor 123 may control at least some of functions orstates related to at least one component (e.g., the display module 160,the sensor module 176, or the communication module 190) among thecomponents of the electronic device 101, instead of the main processor121 while the main processor 121 is in an inactive (e.g., sleep) state,or together with the main processor 121 while the main processor 121 isin an active state (e.g., executing an application). According to anembodiment, the auxiliary processor 123 (e.g., an image signal processoror a communication processor) may be implemented as part of anothercomponent (e.g., the camera module 180 or the communication module 190)functionally related to the auxiliary processor 123. According to anembodiment, the auxiliary processor 123 (e.g., the neural processingunit) may include a hardware structure specified for artificialintelligence model processing. The artificial intelligence model may begenerated via machine learning. Such learning may be performed, e.g., bythe electronic device 101 where the artificial intelligence is performedor via a separate server (e.g., the server 108). Learning algorithms mayinclude, but are not limited to, e.g., supervised learning, unsupervisedlearning, semi-supervised learning, or reinforcement learning. Theartificial intelligence model may include a plurality of artificialneural network layers. The artificial neural network may be a deepneural network (DNN), a convolutional neural network (CNN), a recurrentneural network (RNN), a restricted Boltzmann machine (RBM), a deepbelief network (DBN), a bidirectional recurrent deep neural network(BRDNN), deep Q-network or a combination of two or more thereof, but isnot limited thereto. The artificial intelligence model may, additionallyor alternatively, include a software structure other than the hardwarestructure.

The memory 130 may store various data used by at least one component(e.g., the processor 120 or the sensor module 176) of the electronicdevice 101. The various data may include, for example, software (e.g.,the program 140) and input data or output data for a command relatedthereto. The memory 130 may include the volatile memory 132 or thenon-volatile memory 134.

The program 140 may be stored in the memory 130 as software, and mayinclude, for example, an operating system (OS) 142, middleware 144, oran application 146.

The input module 150 may receive a command or data to be used by anothercomponent (e.g., the processor 120) of the electronic device 101, fromthe outside (e.g., a user) of the electronic device 101. The inputmodule 150 may include, for example, a microphone, a mouse, a keyboard,keys (e.g., buttons), or a digital pen (e.g., a stylus pen).

The sound output module 155 may output sound signals to the outside ofthe electronic device 101. The sound output module 155 may include, forexample, a speaker or a receiver. The speaker may be used for generalpurposes, such as playing multimedia or playing record. The receiver maybe used for receiving incoming calls. According to an embodiment, thereceiver may be implemented as separate from, or as part of the speaker.

The display module 160 may visually provide information to the outside(e.g., a user) of the electronic device 101. The display 160 mayinclude, for example, a display, a hologram device, or a projector andcontrol circuitry to control a corresponding one of the display,hologram device, and projector. According to an embodiment, the display160 may include a touch sensor configured to detect a touch, or apressure sensor configured to measure the intensity of a force generatedby the touch.

The audio module 170 may convert a sound into an electrical signal andvice versa. According to an embodiment, the audio module 170 may obtainthe sound via the input module 150, or output the sound via the soundoutput module 155 or a headphone of an external electronic device (e.g.,an electronic device 102) directly (e.g., wiredly) or wirelessly coupledwith the electronic device 101.

The sensor module 176 may detect an operational state (e.g., power ortemperature) of the electronic device 101 or an environmental state(e.g., a state of a user) external to the electronic device 101, andthen generate an electrical signal or data value corresponding to thedetected state. According to an embodiment, the sensor module 176 mayinclude, for example, a gesture sensor, a gyro sensor, an atmosphericpressure sensor, a magnetic sensor, an accelerometer, a grip sensor, aproximity sensor, a color sensor, an infrared (IR) sensor, a biometricsensor, a temperature sensor, a humidity sensor, or an illuminancesensor.

The interface 177 may support one or more specified protocols to be usedfor the electronic device 101 to be coupled with the external electronicdevice (e.g., the electronic device 102) directly (e.g., wiredly) orwirelessly. According to an embodiment, the interface 177 may include,for example, a high definition multimedia interface (HDMI), a universalserial bus (USB) interface, a secure digital (SD) card interface, or anaudio interface.

A connecting terminal 178 may include a connector via which theelectronic device 101 may be physically connected with the externalelectronic device (e.g., the electronic device 102). According to anembodiment, the connecting terminal 178 may include, for example, a HDMIconnector, a USB connector, a SD card connector, or an audio connector(e.g., a headphone connector).

The haptic module 179 may convert an electrical signal into a mechanicalstimulus (e.g., a vibration or motion) or electrical stimulus which maybe recognized by a user via tactile sensation or kinesthetic sensation.According to an embodiment, the haptic module 179 may include, forexample, a motor, a piezoelectric element, or an electric stimulator.

The camera module 180 may capture a still image or moving images.According to an embodiment, the camera module 180 may include one ormore lenses, image sensors, image signal processors, or flashes.

The power management module 188 may manage power supplied to theelectronic device 101. According to one embodiment, the power managementmodule 188 may be implemented as at least part of, for example, a powermanagement integrated circuit (PMIC).

The battery 189 may supply power to at least one component of theelectronic device 101. According to an embodiment, the battery 189 mayinclude, for example, a primary cell which is not rechargeable, asecondary cell which is rechargeable, or a fuel cell.

The communication module 190 may support establishing a direct (e.g.,wired) communication channel or a wireless communication channel betweenthe electronic device 101 and the external electronic device (e.g., theelectronic device 102, the electronic device 104, or the server 108) andperforming communication via the established communication channel. Thecommunication module 190 may include one or more communicationprocessors that are operable independently from the processor 120 (e.g.,the application processor (AP)) and supports a direct (e.g., wired)communication or a wireless communication. According to an embodiment,the communication module 190 may include a wireless communication module192 (e.g., a cellular communication module, a short-range wirelesscommunication module, or a global navigation satellite system (GNSS)communication module) or a wired communication module 194 (e.g., a localarea network (LAN) communication module or a power line communication(PLC) module). A corresponding one of these communication modules maycommunicate with the external electronic device 104 via a first network198 (e.g., a short-range communication network, such as Bluetooth™,wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA))or a second network 199 (e.g., a long-range communication network, suchas a legacy cellular network, a 5G network, a next-generationcommunication network, the Internet, or a computer network (e.g., localarea network (LAN) or wide area network (WAN)). These various types ofcommunication modules may be implemented as a single component (e.g., asingle chip), or may be implemented as multi components (e.g., multichips) separate from each other. The wireless communication module 192may identify or authenticate the electronic device 101 in acommunication network, such as the first network 198 or the secondnetwork 199, using subscriber information (e.g., international mobilesubscriber identity (IMSI)) stored in the subscriber identificationmodule 196.

The wireless communication module 192 may support a 5G network, after a4G network, and next-generation communication technology, e.g., newradio (NR) access technology. The NR access technology may supportenhanced mobile broadband (eMBB), massive machine type communications(mMTC), or ultra-reliable and low-latency communications (URLLC). Thewireless communication module 192 may support a high-frequency band(e.g., the mmWave band) to achieve, e.g., a high data transmission rate.The wireless communication module 192 may support various technologiesfor securing performance on a high-frequency band, such as, e.g.,beamforming, massive multiple-input and multiple-output (massive MIMO),full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, orlarge scale antenna. The wireless communication module 192 may supportvarious requirements specified in the electronic device 101, an externalelectronic device (e.g., the electronic device 104), or a network system(e.g., the second network 199). According to an embodiment, the wirelesscommunication module 192 may support a peak data rate (e.g., 20 Gbps ormore) for implementing eMBB, loss coverage (e.g., 164 dB or less) forimplementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each ofdownlink (DL) and uplink (UL), or a round trip of 1 ms or less) forimplementing URLLC.

The antenna module 197 may transmit or receive a signal or power to orfrom the outside (e.g., the external electronic device). According to anembodiment, the antenna module 197 may include one antenna including aradiator formed of or including a conductor or conductive pattern formedon a substrate (e.g., a printed circuit board (PCB)). According to anembodiment, the antenna module 197 may include a plurality of antennas(e.g., an antenna array). In this case, at least one antenna appropriatefor a communication scheme used in a communication network, such as thefirst network 198 or the second network 199, may be selected from theplurality of antennas by, e.g., the communication module 190. The signalor the power may then be transmitted or received between thecommunication module 190 and the external electronic device via theselected at least one antenna. According to an embodiment, parts (e.g.,radio frequency integrated circuit (RFIC)) other than the radiator maybe further formed as part of the antenna module 197.

According to various embodiments, the antenna module 197 may form ammWave antenna module. According to an embodiment, the mmWave antennamodule may include a printed circuit board, an RFIC disposed on a firstsurface (e.g., the bottom surface) of the printed circuit board, oradjacent to the first surface and capable of supporting a designatedhigh-frequency band (e.g., the mmWave band), and a plurality of antennas(e.g., array antennas) disposed on a second surface (e.g., the top or aside surface) of the printed circuit board, or adjacent to the secondsurface and capable of transmitting or receiving signals of thedesignated high-frequency band.

At least some of the above-described components may be coupled mutuallyand communicate signals (e.g., commands or data) therebetween via aninter-peripheral communication scheme (e.g., a bus, general purposeinput and output (GPIO), serial peripheral interface (SPI), or mobileindustry processor interface (MIPI)).

According to an embodiment, commands or data may be transmitted orreceived between the electronic device 101 and the external electronicdevice 104 via the server 108 coupled with the second network 199. Theexternal electronic devices 102 or 104 each may be a device of the sameor a different type from the electronic device 101. According to anembodiment, all or some of operations to be executed at the electronicdevice 101 may be executed at one or more of the external electronicdevices 102, 104, or 108. For example, if the electronic device 101should perform a function or a service automatically, or in response toa request from a user or another device, the electronic device 101,instead of, or in addition to, executing the function or the service,may request the one or more external electronic devices to perform atleast part of the function or the service. The one or more externalelectronic devices receiving the request may perform the at least partof the function or the service requested, or an additional function oran additional service related to the request, and transfer an outcome ofthe performing to the electronic device 101. The electronic device 101may provide the outcome, with or without further processing of theoutcome, as at least part of a reply to the request. To that end, acloud computing, distributed computing, mobile edge computing (MEC), orclient-server computing technology may be used, for example. Theelectronic device 101 may provide ultra low-latency services using,e.g., distributed computing or mobile edge computing. In an embodiment,the external electronic device 104 may include an Internet-of-things(IoT) device. The server 108 may be an intelligent server using machinelearning and/or a neural network. According to an embodiment, theexternal electronic device 104 or the server 108 may be included in thesecond network 199. The electronic device 101 may be applied tointelligent services (e.g., smart home, smart city, smart car, orhealthcare) based on 5G communication technology or IoT-relatedtechnology.

FIG. 2A is a block diagram illustrating components included in anelectronic device 101 according to an embodiment.

According to an embodiment, an electronic device 101 may include amicrophone 201 (e.g., the input module 150 of FIG. 1 ), an audio module170, a sensor 203 (e.g., the sensor module 176 of FIG. 1 ), a memory130, and/or a processor 120.

According to an embodiment, the microphone 201 may detect an externalvoice and output an electrical signal (e.g., an analog signal)(hereinafter, an audio signal) corresponding to the detected voice.According to various embodiments, one or more microphones may beincluded as components of the electronic device 101. According to anembodiment, the microphone 201 may include an air conduction microphonefor detecting the voice transmitted through the air and/or anaccelerometer for detecting voice by measuring the vibration of theelectronic device 101.

According to an embodiment, the audio module 170 may receive an audiosignal from the microphone 201 and perform signal processing on thereceived audio signal. For example, the audio module 170 may convert thereceived audio signal into a digital signal (hereinafter, audio data).For example, audio data may include pulse coded modulation (PCM)-typedata. According to an embodiment, the audio module 170 may include ananalog-digital converter (ADC) and/or a digital signal processor (DSP)which are described below in greater detail. According to an embodiment,the audio module 170 may, for example, be referred to as an audiosubsystem or by other various terms.

According to an embodiment, the sensor 203 may include at least one of agyroscope, an accelerometer, an angular velocity sensor, a proximitysensor, or an illuminance sensor. According to an embodiment, the sensor203 may detect any occasion when the form of the electronic device 101turns into any one of predesignated forms and output an electricalsignal to the processor 120. For example, the predesignated forms mayinclude at least one or more forms which are described below in greaterdetail below. According to an embodiment, the sensor 203 may be disposedon each of one or more housings forming the outer surface of theelectronic device 101 and detect the movement (e.g., linear movementand/or rotational movement) of each housing and output an electricalsignal corresponding thereto. According to an embodiment, the sensor 203may be disposed on at least a portion of a hinge structure (e.g., thehinge structure 325 of FIG. 3C described below) of the electronic device101 (e.g., a foldable-type electronic device) and detect a movement(e.g., linear movement and/or rotational movement) of each housingconnected with the hinge structure (e.g., the hinge structure 325 ofFIG. 3C described below) and output an electrical signal correspondingthereto. According to an embodiment, the sensor 203 may be disposed onat least a portion of a rotating member (e.g., the pinion gear and/orguide roller described below) of the electronic device 101 (e.g., arollable-type electronic device) and detect an angle of rotation (ornumber of rotations) of the rotating member (e.g., the pinion gearand/or guide roller described below) and output an electrical signalcorresponding thereto. According to an embodiment, at least one sensor203 used to identify a change of a form of the electronic device 101 mayalso be referred to as a step sensor.

According to an embodiment, the processor 120 may perform and/or controlthe overall operation of the electronic device 101. For example, theprocessor 120 may process the electrical signal and/or data (e.g., audiodata) received from another hardware component (e.g., the audio module170 or the sensor 203), perform a designated operation based thereon,and/or control another hardware component (e.g., the audio module 170,the sensor 203, or the display (e.g., the display module 160 of FIG. 1)) to perform a designated operation. As another example, the processor120 may access data stored in the memory 130, store data in the memory130, or load the data stored in the memory 130 and provide it to anapplication. According to various embodiments, the processor 120 mayinclude a main processor (e.g., the main processor 121 of FIG. 1 )and/or an auxiliary processor (e.g., the auxiliary processor 123 of FIG.1 ) (e.g., a DSP). The auxiliary processor 123 (e.g., DSP) may beincluded in the audio module 170.

According to an embodiment, the processor 120 may receive an electricalsignal from the sensor 203 and identify whether the form of theelectronic device 101 is changed based on the received electricalsignal. For example, the processor 120 may identify that the form of theelectronic device 101 is a first form (e.g., any one of Step 2 to Step(n−1) described below) if a first signal is received from the sensor 203and identify that the form of the electronic device 101 is a second form(e.g., Step 1 or Step n described below) if a second signal is received.According to an embodiment, the first signal may indicate a Step valuecorresponding to the form of the electronic device 101 among Step 2 toStep (n−1) described below. According to an embodiment, the secondsignal may indicate a Step value corresponding to the form of theelectronic device 101 of Step 1 or Step n described below. Meanwhile,the form of the electronic device 101 may include three or more forms.According to an embodiment, the processor 120 may identify the currentform (e.g., changed form) of the electronic device 101 and/or that theform of the electronic device 101 is changed by identifying the Stepvalue indicated by the first signal or second signal if receiving thefirst signal or the second signal. According to an embodiment, the firstsignal or the second signal may also indicate the direction in which theform of the electronic device 101 is changed. For example, the processor120 may identify that the form of the electronic device 101 is changedinto a form corresponding to Step (k−1) if receiving the first signalfrom the sensor 203 and that the form of the electronic device 101 ischanged into a form corresponding to Step (k+1) if receiving the secondsignal when the form of the electronic device 101 is a formcorresponding to Step k.

According to an embodiment, the processor 120 may identify the speed ofa change of the form of the electronic device 101 based on electricalsignals received from the sensor 203. For example, the processor 120 mayidentify the speed of a change of the form of the electronic device 101from the first form to the second form based on the difference betweenthe time when the first signal is received and the time when the secondsignal is received, which is described below in greater detail.

According to an embodiment, the processor 120 may receive audio datafrom the audio module 170. According to various embodiments, theprocessor 120 may provide the received audio data to an application(e.g., the application 146 of FIG. 1 ) or provide data based on thereceived audio data to the application 146.

According to an embodiment, the processor 120 may provide the audio datareceived from the audio module 170 to the application 146 or providedata based on the received audio data to the application 146, based onwhether the form of the electronic device 101 is changed. According toan embodiment, upon identifying that the form of the electronic device101 is changed, the processor 120 may identify noise data (e.g.,pre-stored reference data) corresponding to the changed form of theelectronic device 101 and/or the speed of a change of the form of theelectronic device 101 and perform noise processing (e.g., noise reducingor noise canceling) on the audio data (hereinafter, first audio data)(in other words, raw data) received from the audio module 170 based onthe identified noise data, thereby obtaining noise-reduced (or canceled)audio data (hereinafter, second audio data). For example, the noiseprocessing (e.g., noise reducing or noise canceling) on the first audiodata is a process for reducing or removing the noise signal indicated bythe noise data on the first audio data and may adopt various techniques.According to an embodiment, upon failing to identify that the form ofthe electronic device 101 is changed, the processor 120 may provide thefirst audio data to the application 146 (e.g., provide the first audiodata to the application 146 without performing noise processing based onthe noise data (e.g., pre-stored reference data) on the first audiodata).

According to an embodiment, the processor 120 may provide the audio datareceived from the audio module 170 to the application 146 or providedata based on the received audio data to the application 146, based on arunning application (e.g., based on the type of the runningapplication). According to an embodiment, if the running application isa first application (e.g., an application that converts the detectedexternal voice into data and stores it in the memory 130, such as arecording application or a camera application), the processor 120 mayprovide the second audio data to the first application. According to anembodiment, the first application may include, e.g., a call applicationthat converts the detected external voice or sound into data andtransmits it to an external network (e.g., the second network 199 ofFIG. 1 ). According to an embodiment, if the running application is thefirst application, the processor 120 may provide the first audio data orsecond audio data to the first application according to whether the formof the electronic device 101 is changed. For example, when the runningapplication is the first application, upon identifying that the form ofthe electronic device 101 is changed, the processor 120 may provide thesecond audio data to the first application and, upon failing to identifythat the form of the electronic device 101 is changed, provide the firstaudio data to the first application. According to an embodiment, if therunning application is a second application (e.g., an application thatmainly uses the user's voice among the external voices detected, such asa call application), the processor 120 may extract the user's voice fromthe first audio data and provide data for the extracted user voice tothe second application. For example, voice activity detection (VAD) orother various techniques may be applied to extracting the user voice bythe processor 120. According to an embodiment, upon identifying that therunning application is the second application or a third application(e.g., an application different from the first application and thesecond application), the processor 120 may provide the first audio datato the third application (e.g., the corresponding running application).

According to an embodiment, the memory 130 may store various pieces ofinformation and/or data for performing the operations described in thedisclosure. For example, the memory 130 may previously store a pluralityof noise data (e.g., reference data) (in other words, noise patterndata). According to an embodiment, the pre-stored noise data may includeinformation about the noise pattern corresponding to the changed form ofthe electronic device 101 and/or the speed of a change of the form ofthe electronic device 101. According to an embodiment, the pre-storednoise data may be data learned based on the noise pattern correspondingto the changed form of the electronic device 101 and/or the speed of achange of the form of the electronic device 101. For example, in a quietenvironment (e.g., an environment with less external noise), theexternal voice detected through the microphone 201 may be stored inrelation to the method for a change of the form the electronic device101 while changing of the form of the electronic device 101 by variousmethods. More specifically, obtained voice data (e.g., noise pattern)may be stored as noise data (e.g., reference data) in relation to thechanged form of the electronic device 101 and/or the speed of a changeof the form of the electronic device 101. According to an embodiment,the obtained voice data (e.g., noise pattern) may differ depending onthe structure of the electronic device 101, the changed form of theelectronic device 101 and/or the speed of a change of the form of theelectronic device 101. If the electronic device 101 has the samestructure (e.g., if the electronic device 101 is a transformableelectronic device of the same type), the obtained voice data (e.g.,noise pattern) may differ depending on the changed form of theelectronic device 101 and/or the speed of a change of the form of theelectronic device 101. For example, if the electronic device 101 is afoldable-type electronic device 101, the voice data (e.g., noisepattern) obtained when the electronic device 101 becomes the foldedstate (e.g., the ‘folded state” of FIG. 3C described below) and thevoice data (e.g., noise pattern) obtained when the electronic device 101becomes the unfolded state (e.g., the ‘unfolded state’ of FIG. 3Adescribed below) may differ from each other. For example, as the speedof a change of the form of the electronic device 101 increases, arelatively high frequency noise pattern (e.g., a noise pattern having alarge high-frequency component) may be detected and, as the speed of achange of the form of the electronic device 101 decreases, a relativelylow-frequency noise pattern (e.g., a noise pattern having a smallhigh-frequency component) may be detected. According to an embodiment,the pre-stored noise data may be updated according to the actual useenvironment. For example, if the user uses the electronic device 101with a case mounted on the housing of the electronic device 101, thenoise pattern generated when the form of the electronic device 101 ischanged may differ from the pre-stored noise data. Upon identifying thatthe electronic device 101 is used with a case mounted (e.g., ifinformation indicating that a case is mounted is input to the electronicdevice 101 by the user), the electronic device 101 may detect theexternal voice through the microphone 201 when the form of thecase-mounted electronic device 101 is changed and update the pre-storednoise data (e.g., reference data) with the obtained voice data (e.g.,noise pattern) related to the changed form of the electronic device 101and/or the speed of a change of the form of the electronic device 101.

According to an embodiment, the pre-stored noise data may be classifiedand stored in the form as shown in Table 1 below.

TABLE 1 time of a change of a form (t_(f)) [s] changed form (speed of achange of a form (v_(f)) [m/s] noise data Step 1 t_(f) < t₁ reference a₁(v₁ < v_(f)) t₁ ≤ t_(f) < t₂ reference a₂ (v₂ ≤ v_(f) < v₁) t₂ ≤ t_(f) <t₃ reference a₃ (v₃ ≤ v_(f) < v₂) . . . . . . Step n t_(f) < t₁reference b₁ (v₁ < v_(f)) t₁ ≤ t_(f) < t₂ reference b₂ (v₂ ≤ v_(f) < v₁)t₂ ≤ t_(f) < t₃ reference b₃ (v₃ ≤ v_(f) < v₂) . . . . . .

In Table 1, the “changed form” may refer, for example, to the final form(e.g., the current form after a change) of the changed electronic device101, the “time of a change of a form” may refer, for example, to thetime when a form of the electronic device 101 is changed, the “speed ofa change of a form” may refer, for example, to the speed at which a formof the electronic device 101 is changed, and the “noise data” may refer,for example, to pre-stored reference data used for noise processing. Forexample, the “time of a change of a form” may be a difference valuebetween the time of reception of an electrical signal (e.g., firstsignal) from the sensor 203 when the electronic device 101 is in aprevious form and the time point of reception of an electrical signal(e.g., second signal) from the sensor 203 when the electronic device 101is in a current form (e.g., the form into which the previous form ischanged). For example, the “speed of a change of a form” may be a valueproportional to the reciprocal of the “time of a change of a form”.Referring to Table 1, upon noise processing on the first audio data,different noise data (e.g., reference data) may be identified accordingto the changed form of the electronic device 101 and/or the time of achange of a form of the electronic device 101. According to anembodiment, the noise data (e.g., reference data) used for noiseprocessing on the first audio data, may be based on either the changedform of the electronic device 101 or the time of a change of a form ofthe electronic device 101. For example, different noise data may be useddepending on the changed form of the electronic device 101 regardless ofthe time of a change of a form of the electronic device 101. Forexample, different noise data may also be used depending on the time ofa change of a form of the electronic device 101 regardless of thechanged form of the electronic device 101.

FIG. 2B is a block diagram illustrating components included in anelectronic device 101 according to an embodiment. No duplicatedescription is presented below of components described above inconnection with FIG. 2A.

According to an embodiment, an electronic device 101 may include amicrophone 201 (e.g., the input module 150 of FIG. 1 ), an audio module170, a sensor 203 (e.g., the sensor module 176 of FIG. 1 ), a memory130, and/or an application processor (AP) 211 (e.g., the main processor121 of FIG. 1 ).

According to an embodiment, the memory 130 may be included in the audiomodule 170. According to an embodiment, the memory 130 may not beincluded in the audio module 170 (e.g., may be disposed outside orincluded in the AP 211).

According to an embodiment, the audio module 170 may include an A/Dconverter 205, a DSP 207, and/or a buffer 209 (e.g., the volatile memory132 of FIG. 1 ).

According to an embodiment, the A/D converter 205 may convert the audiosignal received from the microphone 201 into a digital signal (e.g.,audio data). For example, audio data may include pulse coded modulation(PCM)-type data.

According to an embodiment, the DSP 207 may perform at least some of theoperations of the processor 120 described in FIG. 2A. For example, theDSP 207 may receive an electrical signal from the sensor 203 andidentify whether a form of the electronic device 101 is changed based onthe received electrical signal. For example, the DSP 207 may identifythe speed of a change of a form of the electronic device 101 based onelectrical signals received from the sensor 203. For example, the DSP207 may receive the first audio data (in other words, raw data) from theA/D converter 205, provide the first audio data to the AP 211, or obtainfirst audio data-based data (e.g., second audio data) using the noisedata stored in the memory 130 and provide it to the AP 211. For example,the DSP 207 may temporarily store the first audio data and/or the secondaudio data in the buffer 209 and then provide it the buffer 213 (e.g.,the volatile memory 132 of FIG. 1 ) of the AP 211. According to anembodiment, the AP 211 may include an application layer, an audiohardware abstraction layer (HAL), and/or kernel. That the DSP 207provides the first audio data and/or second audio data to the AP 211(e.g., the buffer 213) may include providing the first audio data and/orsecond audio data to the audio HAL. According to an embodiment, that theDSP 207 provides the first audio data to the AP 211 (e.g., the buffer213) without performing noise processing based on the noise data (e.g.,the pre-stored reference data) on the first audio data may be describedas bypassing the first audio data to the AP 211 (e.g., the buffer 213).

According to an embodiment, the AP 211 may perform at least some of theoperations of the processor 120 described in FIG. 2A. For example, theAP 211 may provide the first audio data and/or second audio data,provided from the DSP 207 and stored in the buffer 213, to the runningapplication.

FIGS. 3A, 3B, and 3C are diagrams illustrating a foldable-typeelectronic device 101, as an example of the electronic device 101according to an embodiment. FIG. 3A is a diagram illustrating a view ofan unfolded state of an electronic device 101 according to anembodiment. FIG. 3B is a diagram illustrating a view of a folded stateof an electronic device 101 according to an embodiment. FIG. 3C is adiagram illustrating an exploded perspective view of an electronicdevice 101 according to an embodiment.

Referring to FIGS. 3A and 3B, according to an embodiment, an electronicdevice 101 may include a foldable housing 300, a hinge cover 330covering a foldable portion of the foldable housing 300, and a flexibleor foldable display 305 (hereinafter, simply “display 305”) (e.g., thedisplay module 160 of FIG. 1 ) disposed in a space formed by thefoldable housing 300. According to an embodiment, the surface where thedisplay 305 is disposed (or the surface where the display 305 is viewedfrom the outside of the electronic device 101) may be defined as thefront surface of the electronic device 101. The opposite surface of thefront surface may be defined as a rear surface of the electronic device101. The surface surrounding the space between the front and backsurfaces may be defined as a side surface of the electronic device 101.

According to an embodiment, the foldable housing 300 may include a firsthousing structure 310, a second housing structure 320 including a sensorarea 324, a first rear cover 380, a second rear cover 390, and a hingestructure (e.g., the hinge structure 325 of FIG. 3C). The foldablehousing 300 of the electronic device 101 is not limited to the shape andcoupling shown in FIGS. 3A and 3B, but may rather be implemented inother shapes or via a combination and/or coupling of other components.For example, the first housing structure 310 and the first rear cover380 may be integrally formed with each other, and the second housingstructure 320 and the second rear cover 390 may be integrally formedwith each other.

According to an embodiment, the first housing structure 310 may beconnected to the hinge structure (e.g., the hinge structure 325 of FIG.3C) and may include a first surface (e.g., the first surface 311 of FIG.3C) facing in a first direction and a second surface (e.g., the secondsurface 312 of FIG. 3C) facing in a second direction opposite to thefirst direction. The second housing structure 320 may be connected tothe hinge structure 325 and may include a third surface (e.g., the thirdsurface 321 of FIG. 3C) facing in a third direction and a fourth surface(e.g., the fourth surface 322 of FIG. 3C) facing in a fourth directionopposite to the third direction, and may rotate about the hingestructure 325 (e.g., the folding axis A) with respect to the firsthousing structure 310. The electronic device 101 may transform into afolded state or an unfolded state, which is described below withreference to FIG. 3C. Here, the direction may refer, for example, to adirection parallel to the plane or a normal direction of the plane.

According to an embodiment, in the fully folded state of the electronicdevice 101, the first surface may face the third surface and, in thefully unfolded state, the third direction may be substantially identicalto the first direction.

According to an embodiment, the first housing structure 310 and thesecond housing structure 320 may be positioned on opposite sides of afolding axis A, and they may be overall symmetrical in shape with eachother with respect to the folding axis A. As described below, the angleor distance between the first housing structure 310 and the secondhousing structure 320 may be varied depending on whether the electronicdevice 101 is in the unfolded state, the folded state, or the partiallyunfolded (or partially folded) intermediate state. According to anembodiment, the second housing structure 320 further includes the sensorarea 324 where various sensors are disposed, unlike the first housingstructure 310 but, in the remaining area, the second housing structure320 may be symmetrical in shape with the first housing structure 310.

According to an embodiment, as shown in FIG. 3A, the first housingstructure 310 and the second housing structure 320 together may form arecess to receive the display 305. In an embodiment, due to the sensorarea 324, the recess may have two or more different widths in thedirection perpendicular to the folding axis A.

According to an embodiment, the recess may have a first width Wi betweena first portion 310 a of the first housing structure 310, which isperpendicular with the folding axis A, and a first portion 320 a of thesecond housing structure 320, which is formed at an edge of the sensorarea 324. The recess may have a second width W2 formed by a secondportion 310 b of the first housing structure 310 and a second portion320 b of the second housing structure 320, which does not correspond tothe sensor area 324 and is perpendicular with the folding axis A. Inthis case, the second width w2 may be longer than the first width w1. Asanother example, the first portion 310 a of the first housing structure310 and the first portion 320 a of the second housing structure 320,which are asymmetrical with each other, may form the first width w1 ofthe recess, and the second portion 310 b of the first housing structure310 and the second portion 320 b of the second housing structure 320,which are symmetrical with each other, may form the second width w2 ofthe recess. According to an embodiment, the first portion 320 a andsecond portion 320 b of the second housing structure 320 may differ indistance from the folding axis A. The width of the recess is not limitedthereto. According to another embodiment, the recess may have aplurality of widths due to the shape of the sensor area 324 or theasymmetric portions of the first housing structure 310 and the secondhousing structure 320.

According to an embodiment, at least a portion of the first housingstructure 310 and the second housing structure 320 may be formed of ametal or a non-metal material having a predetermined degree of rigidityto support the display 305. At least a portion formed of metal mayprovide a ground plane of the electronic device 101 and may beelectrically connected with a ground line formed on a printed circuitboard (e.g., the circuit board unit 335 of FIG. 3C).

According to an embodiment, the sensor area 324 may be formed adjacentto a corner of the second housing structure 320 and to have apredetermined area. However, the placement, shape, or size of the sensorarea 324 is not limited to those illustrated. For example, in anotherembodiment, the sensor area 324 may be provided in a different corner ofthe second housing structure 320 or in any area between the top cornerand the bottom corner. In an embodiment, components for performingvarious functions, embedded in the electronic device 101, may beexposed, i.e., visible, through the sensor area 324 or one or moreopenings in the sensor area 324 to the front surface of the electronicdevice 101. In an embodiment, the components may include various kindsof sensors. The sensor may include at least one of, e.g., a front-facingcamera, a receiver, or a proximity sensor.

According to an embodiment, the first rear cover 380 may be disposed onone side of the folding axis A on the rear surface of the electronicdevice 101 and have, e.g., a substantially rectangular periphery whichmay be surrounded by the first housing structure 310. Similarly, thesecond rear cover 390 may be disposed on the opposite side of thefolding axis A on the rear surface of the electronic device 101 and itsperiphery may be surrounded by the second housing structure 320.

According to an embodiment, the first rear cover 380 and the second rearcover 390 may be substantially symmetrical in shape with respect to thefolding axis A. However, the first rear cover 380 and the second rearcover 390 are not necessarily symmetrical in shape. In an embodiment,the electronic device 101 may include the first rear cover 380 and thesecond rear cover 390 in various shapes. According to an embodiment, thefirst rear cover 380 may be integrally formed with the first housingstructure 310, and the second rear cover 390 may be integrally formedwith the second housing structure 320.

According to an embodiment, the first rear cover 380, the second rearcover 390, the first housing structure 310, and the second housingstructure 320 may form a space where various components (e.g., a printedcircuit board or battery) of the electronic device 101 may be disposed.According to an embodiment, one or more components may be arranged orvisually exposed on/through the rear surface of the electronic device101. For example, at least a portion of a sub display may be exposed,i.e., visible, through a first rear surface area 382 of the first rearcover 380. In an embodiment, one or more components or sensors may bevisually exposed through a second rear surface area 392 of the secondrear cover 390. According to an embodiment, the sensor may include aproximity sensor and/or a rear-facing camera.

According to an embodiment, a front camera exposed to the front surfaceof the electronic device 101 through one or more openings prepared inthe sensor area 324 or a rear camera exposed through a second rearsurface area 392 of the second rear cover 390 may include one or morelenses, an image sensor, and/or an image signal processor. The flash mayinclude, e.g., a light emitting diode (LED) or a xenon lamp. Accordingto an embodiment, two or more lenses (e.g., an infrared (IR) camera, awide-angle lens, and a telescopic lens) and image sensors may bedisposed on one surface of the electronic device 101.

Referring to FIG. 3B, the hinge cover 330 may be disposed between thefirst housing structure 310 and the second housing structure 320 to hidethe internal components (e.g., the hinge structure 325 of FIG. 3C).According to an embodiment, the hinge cover 330 may be hidden by aportion of the first housing structure 310 and second housing structure320 or be exposed to the outside depending on the state (e.g., theunfolded state, intermediate state, or folded state) of the electronicdevice 101.

According to an embodiment, as shown in FIG. 3A, in the unfolded state(e.g., a fully unfolded state) of the electronic device 101, the hingecover 330 may be hidden not to be exposed by the first housing structure310 and the second housing structure 320. As another example, as shownin FIG. 3B, in the folded state (e.g., a fully folded state) of theelectronic device 101, the hinge cover 330 may be exposed to the outsidebetween the first housing structure 310 and the second housing structure320. As an example, in an intermediate state in which the first housingstructure 310 and the second housing structure 320 are folded with acertain angle, the hinge cover 330 may be partially exposed to theoutside between the first housing structure 310 and the second housingstructure 320. In this case, however, the exposed area may be smallerthan in the fully folded state. According to an embodiment, the hingecover 330 may include a curved surface.

According to an embodiment, the display 305 may be disposed in a spaceformed by the foldable housing 300. For example, the display 305 may beseated in a recess formed by the foldable housing 300 and may be seenfrom the outside through the front surface of the electronic device 101.For example, the display 305 may constitute most of the front surface ofthe electronic device 101. Thus, the front surface of the electronicdevice 101 may include the display 305 and a partial area of the firsthousing structure 310 and a partial area of the second housing structure320, which are adjacent to the display 305. The rear surface of theelectronic device 101 may include the first rear cover 380, a partialarea of the first housing structure 310, which is adjacent to the firstrear cover 380, the second rear cover 390, and a partial area of thesecond housing structure 320, which is adjacent to the second rear cover390.

According to an embodiment, the display 305 may refer, for example, to adisplay at least a portion of which may be transformed into a flat orcurved surface. According to an embodiment, the display 305 may includea folding area 305 c, a first area 305 a disposed on one side of thefolding area 305 c (e.g., a left side of the folding area 305 c of FIG.3A), and a second area 305 b disposed on the other side of the foldingarea 305 c (e.g., a right side of the folding area 305 c of FIG. 3A).

However, the segmentation of the display 305 as shown in FIG. 3A ismerely an example, and the display 305 may be divided into a pluralityof (e.g., four or more, or two) areas depending on the structure orfunction of the display 200. For example, in the embodiment illustratedin FIG. 3A, the display 305 may be divided into the areas by the foldingarea 305 c or folding axis A extending in parallel with the y axis but,in another embodiment, the display 305 may be divided into the areaswith respect to another folding area (e.g., a folding area parallel withthe x axis) or another folding axis (e.g., a folding axis parallel withthe x axis).

According to an embodiment, the first area 305 a and the second area 305b may be overall symmetrical in shape with respect to the folding area305 c. However, unlike the first area 305 a, the second area 305 b mayinclude a notch depending on the presence of the sensor area 324, butthe rest may be symmetrical in shape with the first area 305 a. In otherwords, the first area 305 a and the second area 305 b may includesymmetrical portions and asymmetrical portions.

Described below are the operation of the first housing structure 310 andthe second housing structure 320 and each area of the display 305depending on the state (e.g., the folded state, unfolded state, orintermediate state) of the electronic device 101.

According to an embodiment, when the electronic device 101 is in theunfolded state (e.g., FIG. 3A), the first housing structure 310 and thesecond housing structure 320 may be disposed to face in the samedirection while being angled at 180 degrees therebetween. The surface ofthe first area 305 a and the surface of the second area 305 b of thedisplay 305 may be angled at 180 degrees therebetween while facing inthe same direction (e.g., forward of the front surface of the electronicdevice). The folding area 305 c may form substantially the same plane asthe first area 305 a and the second area 305 b.

According to an embodiment, when the electronic device 101 is in thefolded state (e.g., FIG. 3B), the first housing structure 310 and thesecond housing structure 320 may face each other. The surface of thefirst area 305 a and the surface of the second area 305 b of the display305 may be angled at a small angle (e.g., ranging from 0 degrees to 10degrees) therebetween while facing each other. At least a portion of thefolding area 305 c may have a curved surface with a predeterminedcurvature.

According to an embodiment, in the intermediate state of the electronicdevice 101, the first housing structure 310 and the second housingstructure 320 may be arranged at a certain angle therebetween. Thesurface of the first area 305 a of the display 305 and the surface ofthe second area 305 b may form an angle which is larger than the anglein the folded state and smaller than the angle in the unfolded state.The folding area 305 c may at least partially have a curved surface witha predetermined curvature and, in this case, the curvature may besmaller than that when it is in the folded state.

FIG. 3C is a diagram illustrating an exploded perspective view of anelectronic device 101 according to an embodiment. According to anembodiment, an electronic device 101 may include a foldable housing 300,a display 305, and a board unit 335. The foldable housing may include afirst housing structure 310, a second housing structure 320, a bracketassembly 315, a first rear cover 380, a second rear cover 390, and ahinge structure 325.

According to an embodiment, the display device 305 may include a displaypanel (e.g., a flexible display panel) and one or more plates or layerson which the display panel is seated. In an embodiment, the supportingplate may be disposed between the display panel and the bracket assembly315. An adhesive structure (not shown) may be positioned between thesupporting plate and the bracket assembly 315, adhering the supportingplate and the bracket assembly 315.

According to an embodiment, the bracket assembly 315 may include a firstbracket assembly 315 a and a second bracket assembly 315 b. The hingestructure 325 may be disposed between the first bracket assembly 315 aand the second bracket assembly 315 b, and when the hinge structure 325is viewed from the outside, a hinge cover 330 covering the hingestructure 325 may be disposed. As another example, a printed circuitboard (e.g., a flexible printed circuit (FPC)) may be disposed to crossthe first bracket assembly 315 a and the second bracket assembly 315 b.

According to an embodiment, the board unit 335 may include a first maincircuit board 335 a disposed on a side of the first bracket assembly 315a and a second main circuit board 335 b disposed on a side of the secondbracket assembly 315 b. The first main circuit board 335 a and thesecond main circuit board 335 b may be disposed in a space formed by thebracket assembly 315, the first housing structure 310, the secondhousing structure 320, the first rear cover 380, and the second rearcover 390. Components for implementing various functions of theelectronic device 101 may be mounted on the first main circuit board 335a and the second main circuit board 335 b.

According to an embodiment, the first housing structure 310 and thesecond housing structure 320 may be assembled together to be coupled totwo opposite sides of the bracket assembly 315, with the display 305coupled to the bracket assembly 315. For example, the first housingstructure 310 and the second housing structure 320 may slide to bothsides of the bracket assembly 315 and fit with the bracket assembly 315.

According to an embodiment, the first housing structure 310 may includea first surface 311 and a second surface 312 facing away from the firstsurface 311, and the second housing structure 320 may include a thirdsurface 321 and a fourth surface 322 facing away from the third surface321. According to an embodiment, the first housing structure 310 mayinclude a first rotation supporting surface 313, and the second housingstructure 320 may include a second rotation supporting surface 323corresponding to the first rotation supporting surface 313. The firstrotation supporting surface 313 and the second rotation supportingsurface 323 may include a curved surface corresponding to a curvedsurface included in the hinge cover 330.

According to an embodiment, the first rotation supporting surface 313and the second rotation supporting surface 323, in the unfolded state ofthe electronic device 101 (e.g., the electronic device of FIG. 3A), maycover the hinge cover 330, allowing the hinge cover 330 to be notexposed or minimally exposed through the rear surface of the electronicdevice 101. The first rotation supporting surface 313 and the secondrotation supporting surface 323, in the folded state of the electronicdevice 101 (e.g., the electronic device 101 of FIG. 3B), may rotatealong the curved surface included in the hinge cover 330, allowing thehinge cover 330 to be maximally exposed through the rear surface of theelectronic device 101.

FIGS. 4A and 4B are diagrams illustrating a rollable-type electronicdevice 101, as an example of the electronic device 101 according to anembodiment. FIG. 4A is a diagram illustrating a six-side view of a statein which a second housing 402 is received in an electronic device 101according to an embodiment. FIG. 4B is a diagram illustrating six-sideview of a state in which a second housing 402 is drawn out from anelectronic device 101 according to an embodiment.

Referring to FIGS. 4A and 4B, an electronic device 101 may include afirst housing 401, a second housing 402 slidably coupled to the firsthousing 401, and/or a flexible display 403. The second housing 402 maylinearly reciprocate in one direction (e.g., the X-axis direction)between the position where it is received in the first housing 401 andthe position slid by a designated distance to be drawn out. In anembodiment, the direction in which the second housing 402 linearlyreciprocates may be defined as a length direction (e.g., Y-axisdirection) or width direction (e.g., X-axis direction) of the electronicdevice 101 and this may be arbitrarily defined depending on thedirection in which the electronic device 101 is aligned or disposed. Inthe following detailed description, the state shown in FIG. 4A may bereferred to as a ‘received position,’ and the state shown in FIG. 4B maybe referred to as a ‘drawn-out position.’ In an embodiment, the stateshown in FIG. 4A may be referred to as a ‘closed state,’ and the stateshown in FIG. 4B may be referred to as an ‘opened state’.

According to an embodiment, the first housing 401 may be referred to asa main housing, a first slide part or a first slide housing and may becoupled to surround the rear surface of the second housing 402 and twoopposite side surfaces (e.g., the surface facing in the −Y direction andthe surface facing in the +Y direction) connected to the rear surface.In an embodiment, the first housing 401 may have a structure thatfurther surrounds another side surface (e.g., the surface facing in the−X direction) of the second housing 402, and the second housing 402 mayslide in the +X direction from the state received in the first housing401 to be drawn out from the first housing 401. Someelectrical/electronic components (e.g., the camera module 449) may bereceived in the first housing 401, and in general, the inner space ofthe first housing 401 may be utilized as a space for receiving thesecond housing 402.

According to an embodiment, the first housing 401 may include a rearplate 413 a, a first sidewall 413 b extending from the rear plate 413 a,a second sidewall 413 c extending from the rear plate 413 a and disposedto be substantially parallel to the first sidewall 413 b, and a thirdsidewall 413 d extending from the rear plate 413 a and connecting thefirst sidewall 413 b and the second sidewall 413 c. The rear plate 413a, the first sidewall 413 b, the second sidewall 413 c, and/or the thirdsidewall 413 d may be disposed to respectively face the outer surfaces(e.g., the rear surface and/or side surfaces) of the second housing 402corresponding thereto. For example, the rear plate 413 a, the firstsidewall 413 b, the second sidewall 413 c, and/or the third sidewall 413d may form a space substantially receiving the second housing 402, andthe surface of the first housing 401 facing in the +X direction and/orthe surface facing forward of the electronic device 101 may besubstantially opened. In an embodiment, the second housing 402 may beinterpreted as sliding with respect to the first housing 401 while beingsubstantially guided by the first sidewall 413 b and the second sidewall413 c.

According to an embodiment, the second housing 402 may be referred to asa sub housing, a second slide part, or a second slide housing and becoupled to the first housing 401 to linearly reciprocate between thereceived position of FIG. 4A and the drawn-out position of FIG. 4B.Although not shown, a main circuit board on which hardware, such as theprocessor 120 or communication module 190 of FIG. 1 is mounted, andelectric/electronic components, such as the battery 189 and/or thesensor module 176, may be received in the inner space of the secondhousing 402. In an embodiment, the electronic device 101 may furtherinclude a rack gear 443 disposed on the first housing 401 and a piniongear (not shown) rotatably disposed on the second housing 402. As thepinion gear (not shown) is engaged with the rack gear 443 and rotated,the second housing 402 may be slid with respect to the first housing401. According to an embodiment, the second housing 402 may be receivedsubstantially in the first housing 401 in a state in which the sidesurface facing in the +X direction is exposed to the outside in thereceived position. In another embodiment, in the drawn-out position, therear surface of the second housing 402, the surface facing in the −Ydirection, and/or the surface facing in the +Y direction may besubstantially exposed to the outside.

According to an embodiment, the flexible display 403 may include a firstarea A1 and a second area A2 extending from the first area A1 and becoupled with or disposed adjacent to a touch detection circuit, apressure sensor capable of measuring the strength (pressure) of touch,and/or a digitizer for detecting a magnetic-type stylus pen. In anembodiment, the first area A1 may be disposed on the first housing 401to output a screen forward of the electronic device 101. In anembodiment, the space for receiving the first housing 401 may be atleast partially defined by the flexible display 403. For example, in thereceived position, the second housing 402 may be received in a spacebetween the rear plate 413 a and the flexible display 403 (e.g., thefirst area A1). In an embodiment, the second area A2 may besubstantially disposed on the second housing 402 and, as the secondhousing 402 slides, be received in the second housing 402 or exposed tothe outside of the second housing 402. For example, in the receivedposition, the second area A2 may be received in the second housing 402to be disposed to at least partially face in the opposite direction tothe first area A1 and, in the drawn-out position, be exposed to theoutside of the second housing 402 to be disposed in parallel to one sideof the first area A1.

According to an embodiment, the portion received in the second housing402 and/or the portion exposed to the outside of the second housing 402to be positioned parallel to one side of the first area A1, of thesecond area A2, together with the first area A1, may maintain thesubstantially flat plate shape. In an embodiment, in the operation ofbeing received in the second housing 402 or exposed to the outside, thesecond area A2 may be moved and/or transformed while being guided by theguide roller at the edge of the second housing 402. For example, thesecond area A2 may be received in the second housing 402 or exposed tothe outside while the portion corresponding to the guide roller (notshown) is transformed into a curved shape and/or while being guided bythe guide roller (not shown). According to an embodiment, the piniongear (not shown) or the guide roller (not shown) may further include asensor module (e.g., an angle sensor) capable of determining the angleof rotation of the pinion gear (not shown) or the guide roller (notshown). According to an embodiment, the processor (e.g., the processor120 of FIG. 1 ) may identify the angle of rotation of the pinion gear(not shown) or the guide roller (not shown) through the sensor module(e.g., angle sensor) and determine the degree of extension (e.g., thesize of the display area) of the flexible display (e.g., the displaymodule 160 of FIG. 1 ) using the identified angle. For example, when therotation angle of the sensor module (e.g., angle sensor) is 180 degrees,the processor 120 according to an embodiment may determine that the areaof the extendible flexible display is extended by 50%. According to anembodiment, the operation in which the second area A2 is moved whilebeing guided by the guide roller (not shown) may interwork with theslide of the second housing 402. For example, when the second housing402 is received in the first housing 401, the second area A2 may begradually received in the second housing 402 and, when the secondhousing 402 is drawn out to the outside of the first housing 401, thesecond area A2 may be gradually exposed to the outside of the secondhousing 402. In an embodiment, while the second housing 402 slides, theportion corresponding to the guide roller (not shown) (e.g., portioncontacting it) of the second area A2 may be transformed into a curvedshape. The electronic device 101 may support the flexible display 403,e.g., the second area A2, in a flat plate shape or guide it to betransformed into a curved shape by further including an articulatedhinge structure.

According to an embodiment, at least a portion of the second area A2 maybe received in the second housing 402 or exposed to the outside of thesecond housing 402, with any position adjacent to the guide roller (notshown) used as the boundary. In an embodiment, in the state of beingreceived in the second housing 402, the second area A2 may not beactivated and, in the state of being exposed to the outside of thesecond housing 402 or partially exposed, a portion (e.g., the externallyexposed portion) may be activated. In an embodiment, in the operation ofbeing received in the second housing 402, the second area A2 may begradually inactivated and, in the externally exposed operation, thesecond area A2 may be gradually activated. “Gradually inactivated oractivated” may refer, for example, to the portion received in the secondhousing 402, of the second area A2, being inactivated, and the portionexposed to the outside of the second housing 402 being activated. In anembodiment, in a state in which the entirety of the second area A2and/or the first area A1 is activated, a portion (e.g., the second areaA2) of the flexible display 403 may be gradually received in the secondhousing 402 or be exposed to the outside of the second housing 402. Inan embodiment, in a state in which the entirety of the second area A2and/or the first area A1 is inactivated, a portion (e.g., the secondarea A2) of the flexible display 403 may be gradually received in thesecond housing 402 or exposed to the outside of the second housing 402.

According to an embodiment, the electronic device 101 may furtherinclude a key input device 441, a connector hole 443, audio modules 445a, 445 b, 447 a, and 447 b, and/or a camera module 449. Although notshown, the electronic device 101 may further include an indicator (e.g.,a light emitting diode (LED) device) and/or various sensor modules.

According to an embodiment, the key input device 441 may be disposed onat least one of the first sidewall 413 b, the second sidewall 413 c,and/or the third sidewall 413 d of the first housing 401. Depending onthe appearance and the state of use, the electronic device 101 may bedesigned to omit the illustrated key input device 441 or to include anadditional key input device(s). The electronic device 101 may include akey input device (not shown), e.g., a home key or a touchpad disposedaround the home key. According to an embodiment, at least a portion ofthe key input device 441 may be positioned in an area of the firsthousing 401 and/or the second housing 402.

According to an embodiment, the connector hole (not shown) may receive aconnector (e.g., a USB connector) for transmitting and receiving powerand/or data with an external electronic device (e.g., the electronicdevice 102 or 104 of FIG. 1 ). One or more connector holes may be formedand be formed in at least one of the first sidewall 413 b, the secondsidewall 413 c, or the third sidewall 413 d. According to an embodiment,the electronic device 101 may not include the connector hole and, inthis case, the electronic device 101 may wirelessly transmit/receivepower and/or data to/from the external electronic device.

According to an embodiment, the audio modules 445 a, 445 b, 447 a, and447 b may include speaker holes 445 a and 445 b and/or microphone holes447 a and 447 b. One (e.g., the speaker hole indicated by referencenumber ‘445 b’) of the speaker holes 445 a and 445 b may be provided asa voice call receiver hole, and the other one (e.g., the speaker holeindicated by reference number ‘445 a’) may be provided as an externalspeaker hole. A microphone may be disposed in the microphone holes 447 aand 447 b to obtain external sounds. According to an embodiment, theremay be a plurality of microphones to be able to detect the direction ofa sound. In an embodiment, the speaker hole 445 a or 445 b and themicrophone hole 447 a or 447 b may be implemented as one hole, or aspeaker may be included (e.g., a piezo speaker) without the speakerholes 445 a and 445 b. According to an embodiment, the speaker holes 445a and 445 b and/or the microphone holes 447 a and 447 b may be disposedin the first housing 401 and/or the second housing 402.

The camera module 449 may be provided on the first housing 401 and maycapture a subject in a direction opposite to the first area A1 of theflexible display 403. The electronic device 101 and/or the camera module449 may include a plurality of cameras. For example, the electronicdevice 101 and/or the camera module 449 may include a wide-angle camera,a telephoto camera, and/or a close-up camera, and, according to anembodiment, by including an infrared projector and/or an infraredreceiver, the electronic device 100 may measure the distance to thesubject. The camera module 449 may include one or more lenses, an imagesensor, and/or an image signal processor. Although not shown, theelectronic device 101 may further include a camera module (e.g., a frontcamera) that captures the subject in the same direction as the firstarea A1 of the flexible display 403. For example, the front camera maybe disposed around the first area A1 or in an area overlapping theflexible display 403 and, when disposed in the area overlapping theflexible display 403, the front camera may capture the subject throughthe flexible display 403.

According to an embodiment, an indicator (not shown) of the electronicdevice 101 may be disposed on the first housing 401 or the secondhousing 402, and the indicator may include a light emitting diode toprovide state information about the electronic device 101 as a visualsignal. The sensor module (not shown) (e.g., the sensor module 176 ofFIG. 1 ) of the electronic device 101 may produce an electrical signalor data value corresponding to the internal operation state or externalenvironment state of the electronic device. The sensor module mayinclude, for example, a proximity sensor, a fingerprint sensor, or abiometric sensor (e.g., an iris/face recognition sensor or a heart ratemonitor (HRM) sensor). According to another embodiment, the sensormodule may further include, e.g., at least one of a gesture sensor, agyro sensor, an atmospheric pressure sensor, a magnetic sensor, anacceleration sensor, a grip sensor, a color sensor, an infrared (IR)sensor, a temperature sensor, a humidity sensor, or an illuminancesensor.

The description of the various example embodiments of the disclosure maybe applied to swivel-type electronic devices and/or slidable-typeelectronic devices, as well as foldable-type electronic devices (e.g.,the electronic device 101 of FIGS. 3A, 3B, and 3C) or rollable-typeelectronic devices (e.g., the electronic device 101 of FIGS. 4A and 4B),and the embodiments described in the disclosure may be applied to anyelectronic device which is transformable. Meanwhile, the structure ofthe electronic device 101 shown in FIGS. 3A, 3B, and 3C, or FIGS. 4A and4B is by way of example, and the embodiments described in the disclosuremay also be applied to foldable-type or rollable-type electronic deviceshaving various structures.

FIG. 5A is a diagram illustrating a view of a state in which a form of afoldable-type electronic device 101 (e.g., the electronic device 101 ofFIG. 3A, 3B, and/or 3C) is changed according to an embodiment.

According to an embodiment, the electronic device 101 may include afirst housing 501 (e.g., the first housing structure 310) and a secondhousing 503 (e.g., the second housing structure 320). According to anembodiment, a display (e.g., the display 305 of FIG. 3A and/or 3B) maybe disposed on one surface (e.g., the surface where the first housing501 and the second housing 503 face each other) of the first housing 501and/or the second housing 503.

The form of the electronic device 101 in “Step 1” is a state in whichthe angle between the first housing 501 and the second housing 503 is 0°(or a value substantially close to) 0° and may be described as, e.g., a‘fully folded state’ (or ‘folded state’).

The form of the electronic device 101 in “Step 2” to “Step (n−1)” is astate in which the angle between the first housing 501 and the secondhousing 503 is more than 0° and less than 180° and may be described as,e.g., an ‘intermediate state.’ As the value of Step increases, the anglebetween the first housing 501 and the second housing 503 may increase.

The form of the electronic device 101 in “Step n” is a state in whichthe angle between the first housing 501 and the second housing 503 is180° (or a value substantially close to 180°) and may be described as,e.g., a ‘fully unfolded state’ (or ‘unfolded state’).

According to an embodiment, the first housing 501 or the second housing503 may be rotated about one axis (e.g., the folding axis A of FIG. 3Aand/or 3B), so that the form of the electronic device 101 may bechanged. For example, if the form of the electronic device 101 isgradually changed from any one Step among “Step 1” to “Step (n−1)” to“Step n” or from any one Step among “Step 2” to “Step n” to “Step 1,”the form of the electronic device 101 may be described as changed.

According to an embodiment, when the form of the electronic device 101is changed into the form corresponding to any one of the above-describedSteps, an electrical signal corresponding to the changed form of theelectronic device may be transferred from at least one sensor (e.g., thesensor 203 of FIG. 2 ) to the processor (e.g., the processor 120 of FIG.1 ).

According to an embodiment, when the form of the electronic device 101is changed to “Step 1” or “Step n,” an impact sound may be generated dueto impact between the first housing 501 and the second housing 503 (orimpact between other various structures).

FIG. 5B is a diagram illustrating a view of a state in which a form of arollable-type electronic device 101 (e.g., the electronic device 101 ofFIG. 4A and/or 4B) is changed according to an embodiment.

According to an embodiment, the electronic device 101 may include afirst housing 501 (e.g., the first housing 401) and a second housing 503(e.g., the second housing 402). According to an embodiment, a display(e.g., the flexible display 403 of FIG. 4A and/or 4B) may be disposed onone surface (e.g., the surface facing forward in FIG. 5B) of the firsthousing 501 and/or the second housing 503. Referring to FIG. 5B, the‘hatched area’ denotes the portion, where the externally exposed area isincreased according to the extension of the display with respect to theexternally exposed area of the display (e.g., the flexible display 403)in “Step 1.”

The form of the electronic device 101 in “Step 1” is a state in whichthe second housing 503 is maximally received in the first housing 501and may be described as, e.g., a ‘closed state.’

The form of the electronic device in “Step 2” to “Step (n−1)” is a statein which the second housing 503 is partially received in the firsthousing 501 (e.g., a state in which a predetermined portion of thesecond housing 503 is drawn out from the ‘closed state’) and may bedescribed as, e.g., an ‘intermediate state.’ As the value of Stepincreases, the distance in which the second housing 503 is drawn outfrom the first housing 501 may increase.

The form of the electronic device 101 in “Step n” is a state in whichthe second housing 503 is maximally drawn out from the first housing 501and may be described as, e.g., an ‘opened state.’

According to an embodiment, the first housing 501 or the second housing503 may be moved in a linear direction (e.g., the horizontal directionof FIG. 5B) so that the form of the electronic device 101 may bechanged. For example, if the form of the electronic device 101 isgradually changed from any one Step among “Step 1” to “Step (n−1)” to“Step n” or from any one Step among “Step 2” to “Step n” to “Step 1,”the form of the electronic device 101 may be described as changed.

According to an embodiment, when the form of the electronic device 101is changed into the form corresponding to any one of the above-describedSteps, an electrical signal corresponding to the changed form of theelectronic device may be transferred from at least one sensor (e.g., thesensor 203 of FIG. 2 ) to the processor (e.g., the processor 120 of FIG.1 ).

According to an embodiment, when the form of the electronic device 101is changed to “Step 1” or “Step n,” an impact sound may be generated dueto impact between the first housing 501 and the second housing 503 (orimpact between other various structures).

FIG. 5C is a diagram illustrating a view of a state in which a form of aswivel-type electronic device 101 is changed according to an embodiment.

According to an embodiment, the electronic device 101 may include afirst housing 501 and a second housing 503. According to an embodiment,a display (e.g., the display module 160 of FIG. 1 ) may be disposed onone surface (e.g., the surface facing forward in FIG. 5C) of the firsthousing 501 and/or the second housing 503.

The form of the electronic device 101 in “Step 1” is a state in whichthe angle between the first housing 501 and the second housing 503 is 0°(or a value substantially close to) 0° and may be described as, e.g., a‘closed state.’

The form of the electronic device 101 in “Step 2” to “Step (n−1)” is astate in which the angle between the first housing 501 and the secondhousing 503 is more than 0° and less than 90° and may be described as,e.g., an ‘intermediate state.’ As the value of Step increases, the anglebetween the first housing 501 and the second housing 503 may increase.

The form of the electronic device 101 in “Step n” is a state in whichthe angle between the first housing 501 and the second housing 503 is90° (or a value substantially close to) 90° and may be described as,e.g., an ‘opened state’).

According to an embodiment, the first housing 501 or the second housing503 may be rotated about one axis (e.g., one point of the upper portionof the first housing 501 or the second housing 503), so that theelectronic device 101 may be transformed. For example, if the form ofthe electronic device 101 is gradually changed from any one Step among“Step 1” to “Step (n−1)” to “Step n” or from any one Step among “Step 2”to “Step n” to “Step 1,” the electronic device 101 may be described astransformed.

According to an embodiment, when the form of the electronic device 101is changed into the form corresponding to any one of the above-describedSteps, an electrical signal corresponding to the changed form of theelectronic device may be transferred from at least one sensor (e.g., thesensor 203 of FIG. 2 ) to the processor (e.g., the processor 120 of FIG.1 ).

According to an embodiment, when the form of the electronic device 101is changed to “Step 1” or “Step n,” an impact sound may be generated dueto impact between the first housing 501 and the second housing 503 (orimpact between other various structures).

FIG. 5D is a diagram illustrating a view of a state in which a form of aslidable-type electronic device 101 is changed according to anembodiment.

According to an embodiment, the electronic device 101 may include afirst housing 501 and a second housing 503. According to an embodiment,a display (e.g., the display module 160 of FIG. 1 ) may be disposed onone surface (e.g., the surface facing upward in FIG. 5D) of the firsthousing 501 and/or the second housing 503.

The form of the electronic device 101 in “Step 1” is a state in whichthe second housing 503 maximally overlaps the first housing 501 and maybe described as, e.g., a ‘closed state.’

The form of the electronic device in “Step 2” to “Step (n−1)” is a statein which the second housing 503 overlaps a portion of the first housing501 (e.g., a state in which the second housing 503 is moved by apredetermined distance from the ‘closed state’) and may be described as,e.g., an ‘intermediate state.’ As the value of Step decreases, theportion where the second housing 503 overlaps the first housing 501 maybroaden.

The form of the electronic device 101 in “Step n” is a state in whichthe second housing 503 is maximally moved from the first housing 501 andmay be described as, e.g., an ‘opened state.’

According to an embodiment, the first housing 501 or the second housing503 may be moved in a linear direction (e.g., the horizontal directionof FIG. 5D) so that a form of the electronic device 101 may be changed.For example, if the form of the electronic device 101 is graduallychanged from any one Step among “Step 1” to “Step (n−1)” to “Step n” orfrom any one Step among “Step 2” to “Step n” to “Step 1,” a form of theelectronic device 101 may be described as changed.

According to an embodiment, when the form of the electronic device 101is changed into the form corresponding to any one of the above-describedSteps, an electrical signal corresponding to the changed form of theelectronic device may be transferred from at least one sensor (e.g., thesensor 203 of FIG. 2 ) to the processor (e.g., the processor 120 of FIG.1 ).

According to an embodiment, when the form of the electronic device 101is changed to “Step 1” or “Step n,” an impact sound may be generated dueto impact between the first housing 501 and the second housing 503 (orimpact between other various structures).

FIG. 6 is a flowchart 600 illustrating an example method for performingnoise processing on audio data based on a change of a form of anelectronic device 101 by the electronic device (e.g., the electronicdevice 101 of FIG. 1 ) according to an embodiment.

According to an embodiment, in operation 610, the electronic device 101may obtain first audio data. For example, the electronic device 101 mayobtain the first audio data using at least one microphone (e.g., themicrophone 201 of FIG. 2A and/or 2B).

According to an embodiment, in operation 630, the electronic device 101may identify that the form of the electronic device 101 is changed whileobtaining the first audio data. For example, the electronic device 101may receive an electrical signal (e.g., first signal and/or secondsignal) corresponding to the changed form (e.g., indicating the changedform) from at least one sensor (e.g., the sensor 203 of FIG. 2A and/or2B) if the form of the electronic device 101 is changed (e.g., changefrom any one Step among Steps of FIG. 5A, 5B, 5C, and/or 5D to anotherStep) according to a relative movement (e.g., rotational movement and/orlinear movement) of the first housing (e.g., the first housing 501 ofFIG. 5A, 5B, 5C, and/or 5D) and the second housing (e.g., the secondhousing 503 of FIG. 5A, 5B, 5C, and/or 5D). The electronic device 101may identify that the form of the electronic device 101 is changed basedon reception of an electrical signal from at least one sensor (e.g., thesensor 203).

According to an embodiment, in operation 650, the electronic device 101may identify the speed of a change of a form of the electronic device101. For example, the electronic device 101 may identify the speed of achange of a form of the electronic device 101 based on the differencebetween the times of reception of electrical signals from at least onesensor (e.g., the sensor 203) and this is described below in greaterdetail. According to an embodiment, in operation 670, the electronicdevice 101 may identify noise data corresponding to the speed of achange of a form of the electronic device 101 (e.g., the speed oftransformation in Table 1) among noise data (e.g., the mapping table inthe form of Table 1) pre-stored in the memory (e.g., the memory 130 ofFIG. 1 ). According to an embodiment, the electronic device 101 may alsoidentify noise data corresponding to the changed form (e.g., Step 1 orStep n) of the electronic device 101 and the speed of a change of a formof the electronic device 101 (e.g., the time of a change of a formand/or the speed of a change of a form in Table 1) among the pre-storednoise data. According to an embodiment, the electronic device 101 doesnot identify the speed of a change of a form of the electronic device101, but may identify the difference between the times of reception ofthe electrical signals and then perform the operations described below.According to an embodiment, the electronic device 101 may identify thenoise data corresponding to the identified difference between the timesof reception of the electrical signals. According to an embodiment, uponreceiving the electrical signal corresponding to the changed form of theelectronic device 101 from at least one sensor (e.g., the sensor 203),the electronic device 101 may identify the changed form of theelectronic device 101 based thereon and identify the noise datacorresponding to the changed form of the electronic device 101, which isdescribed below in greater detail. For example, the electronic device101 may identify noise data corresponding to the changed form (e.g.,Step 1 or Step n) of the electronic device 101 among pre-stored noisedata.

According to an embodiment, in operation 690, the electronic device 101may obtain second audio data from the first audio data based on theidentified noise data. For example, the electronic device 101 mayperform noise processing (e.g., noise reducing or noise canceling) onthe first audio data based on the identified noise data, obtainingsecond audio data with reduced (or removed) noise which is caused as theform of the electronic device 101 is changed.

FIG. 7 is a flowchart 700 illustrating an example method for identifyinga speed at which a form of an electronic device 101 is changed by theelectronic device (e.g., the electronic device 101 of FIG. 1 ) accordingto an embodiment.

According to an embodiment, in operation 710, the electronic device 101may receive a first signal (e.g., the electrical signal received fromthe sensor 203 of FIG. 2A and/or 2B) from at least one sensor (e.g., thesensor 203 of FIG. 2 ) based on the form of the electronic device 101being a first form. For example, the first form may be a formcorresponding to any one of Step 2 to Step (n−1) of FIG. 5A, 5B, 5C,and/or 5D. For example, the first signal is an electrical signalreceived from at least one sensor (e.g., the sensor 203) when the formof the electronic device 101 is the first form and may include the Stepvalue indicating the first form.

According to an embodiment, in operation 730, the electronic device 101may receive a second signal from the at least one sensor (e.g., thesensor 203) based on a change of the form of the electronic device 101from the first form to the second form. For example, the second form maybe a form corresponding to any one of Step 1 to Step n of FIG. 5A, 5B,5C, and/or 5D. For example, the second signal is an electrical signalreceived from at least one sensor (e.g., the sensor 203) when the formof the electronic device 101 is the second form and may include the Stepvalue indicating the second form.

According to an embodiment, in operation 750, the electronic device 101may identify the speed of a change of the form of the electronic device101 based on the difference between the time point of reception of thefirst signal and the time point of reception of the second signal whenthe second signal is received. For example, upon receiving the secondsignal a predetermined time t after the first signal is received, theelectronic device 101 may identify the difference t_(f) between the timepoint of reception of the first signal and the time point of receptionof the second signal. As an example, upon identifying that the form ofthe electronic device 101 is changed into Step 1 (or Step n) of FIG. 5A,5B, 5C, and/or 5D, the electronic device 101 may identify the speed of achange of the form of the electronic device 101 (e.g., v_(f) of Table 1)based on the difference (e.g., t_(f) of Table 1) between the time pointof reception of the first signal from the at least one sensor (e.g., thesensor 203) and the time point of reception of the second signal fromthe at least one sensor (e.g., the sensor 203) based on the previousStep being Step 2 (or Step (n−1)). According to an embodiment, theelectronic device 101 may identify the noise data corresponding theretobased on the time difference t_(f).

FIG. 8 is a flowchart 800 illustrating an example method for performingnoise processing on audio data based on a speed at which a form of anelectronic device 101 is changed by the electronic device (e.g., theelectronic device 101 of FIG. 1 ) according to an embodiment. Noduplicate description is presented below of those operations describedabove in connection with FIG. 7 .

According to an embodiment, in operation 810, the electronic device 101may receive a first signal (e.g., the electrical signal received fromthe sensor 203 of FIG. 2A and/or 2B) from at least one sensor (e.g., thesensor 203 of FIG. 2 ) based on the form of the electronic device 101being a first form.

According to an embodiment, in operation 830, the electronic device 101may receive a second signal from the at least one sensor (e.g., thesensor 203) based on a change of the form of the electronic device 101from the first form to the second form.

According to an embodiment, in operation 850, the electronic device 101may perform noise processing on the first audio data obtained within apredesignated time from the time point of reception of the secondsignal. Referring to FIG. 2A and/or 2B together, the time point ofreception of the second signal from at least one sensor (e.g., thesensor 203 of FIG. 2 ) by the audio module 170 (e.g., the DSP 207 ofFIG. 2B) (or the processor 120 of FIG. 2A) may be the time point of achange of the form of the electronic device 101 into the second form andbe the time when impact sound is generated (e.g., expected to begenerated) due to the change of the form of the electronic device 101.While the audio signal output from the microphone 201 is transferred tothe audio module 170 (e.g., the DSP 207 of FIG. 2B) (or the processor120 of FIG. 2A), a predetermined delay (e.g., a delay caused during theanalog-digital converting process by the A/D converter 205) may occur.Thus, a predetermined time (e.g., the delay time) after the secondsignal is received, the first audio data transferred to the DSP 207 orthe processor 120 may be the data recording the external voiceinfluenced by the above-described impact sound. Upon receiving thesecond signal, the audio module 170 (e.g., the DSP 207 of FIG. 2B) (orthe processor 120 of FIG. 2A) may perform noise processing on the firstaudio data obtained within a predesignated time from the time point ofreception of the second signal. For example, the predesignated time maybe set based on the above-described predetermined time (e.g., the delaytime). As an example, the predesignated time may be set to be longerthan the time (e.g., buffer size) of converting the audio signal by theA/D converter 205.

FIG. 9 is a flowchart 900 illustrating an example method for providingaudio data to an application based on whether a form of an electronicdevice (e.g., the electronic device 101 of FIG. 1 ) by the electronicdevice, is changed according to an embodiment.

According to an embodiment, in operation 910, the electronic device 101may obtain first audio data.

According to an embodiment, in operation 930, the electronic device 101may identify whether a form of the electronic device 101 is changed.

According to an embodiment, upon identifying that the form of theelectronic device 101 is changed, the electronic device 101 may identifywhether the changed form is a second form or a third form in operation950. In this drawings, for convenience of description, the second formis described as being a form corresponding to “Step 1” of FIG. 5A, 5B,5C, and/or 5D, and the third form is described as being a formcorresponding to “Step n” of FIG. 5A, 5B, 5C, and/or 5D.

According to an embodiment, upon identifying that the changed form isthe second form or the third form, the electronic device 101 may obtainsecond audio data based on the noise data corresponding to the changedform and provide it to an application in operation 970. For example,upon identifying that the changed form is the second form, theelectronic device 101 may provide the application with second audio dataobtained by performing noise processing on the first audio data based onthe noise data (e.g., any one of reference a₁, a₂, and a₃ of Table 1)corresponding to the second form. For example, upon identifying that thechanged form is the third form, the electronic device 101 may providethe application with second audio data obtained by performing noiseprocessing on the first audio data based on the noise data (e.g., anyone of reference b₁, b₃, and b₃ of Table 1) corresponding to the thirdform. According to an embodiment, the noise data corresponding to thechanged form may also be identified based on the time point of a changeof the form (or speed of the change of the form) of the electronicdevice 101. For example, upon identifying that the changed form of theelectronic device 101 is the second form, the electronic device 101 mayidentify the time t_(f) of a change of the form (or speed v_(f) of achange of the form) of the electronic device 101 into the second formand perform noise processing on the first audio data using the noisedata corresponding to the changed form (e.g., current form) and timet_(f) of transformation (or speed v_(f) of transformation).

According to an embodiment, upon identifying that the form of theelectronic device 101 is not changed (no in operation 930) or that thechanged form is not the second form or third form (no in operation 950)(e.g., when the changed form is in the ‘intermediate state’ of FIG. 5A,5B, 5C, and/or 5D), the electronic device 101 may provide the obtainedfirst audio data to the application in operation 990. For example, theelectronic device 101 may provide the first audio data to theapplication without performing noise processing on the obtained firstaudio data based on noise data.

According to an embodiment, the electronic device 101 may performoperation 970 or 990 and then perform operation 930 again, againidentifying whether the form of the electronic device 101 is changedwhile obtaining the first audio data.

FIG. 10 is a flowchart 1000 illustrating an example method for providingaudio data to an application based on a running application by anelectronic device 101 according to an embodiment.

According to an embodiment, in operation 1010, the electronic device 101may execute an application. According to an embodiment, the executedapplication may be an application that uses the external voice detectedthrough at least one microphone (e.g., the microphone 201 of FIG. 2 ).

According to an embodiment, in operation 1030, the electronic device 101may identify whether the running application is a first application. Forexample, the first application may be an application that converts thedetected external voice into data and stores it in the memory 130, suchas a recording application or a camera application. According to anembodiment, the first application may also include, e.g., a callapplication that converts the detected external voice or sound into dataand transmits it to the external network.

According to an embodiment, if the running application is identified tobe the first application, the electronic device 101 may provide thefirst audio data or second audio data to the first application accordingto whether the form of the electronic device 101 is changed in operation1050. For example, referring to FIG. 9 together, the electronic device101 may perform operation 930 (e.g., identifying whether the form of theelectronic device 101 is changed), performing operation 950, 970, and/or990.

According to an embodiment, upon identifying that the runningapplication is not the first application, the electronic device 101 mayprovide first audio data-based data to the running applicationregardless of whether the form of the electronic device 101 is changedin operation 1070. For example, when the running application is a secondarea A2 that mainly uses the user's voice among external voices, such asa call application, the electronic device 101 may obtain data for theuser's voice extracted by applying VAD or other various user voiceextraction techniques to the first audio data and provide it to thesecond application regardless of whether the form of the electronicdevice 101 is changed (e.g., without identifying whether the form of theelectronic device 101 is changed). As another example, when the runningapplication is a third application different from the above-describedfirst application and second application, the first audio data may bebypassed and provided to the third application.

FIG. 11 illustrates an example of a screen displayed on a display 1101(e.g., the display module 160 of FIG. 1 ) when a form of an electronicdevice 101 (e.g., the rollable-type electronic device 101 of FIG. 4Aand/or 4B) is changed according to an embodiment.

According to an embodiment, whether to perform noise processing based onthe noise data (e.g., reference data) described above in connection withthe drawings may be set previously (e.g., before detecting the externalvoice through the recording application). For example, the electronicdevice 101 may perform noise processing based on noise data to obtainand provide second audio data when the form of the electronic device 101is changed or may obtain and provide first audio data without performingnoise processing based on the noise data regardless of the change of theform of the electronic device 101, according to the user's settings.

According to an embodiment, whether to perform noise processing based onthe noise data (e.g., reference data) described above in connection withthe drawings may also be set (or changed) after the recordingapplication (e.g., the first application) is executed.

Referring to FIG. 11 , when the recording application (e.g., the firstapplication) is running, the execution screen 1103 of the recordingapplication may be displayed on the display 1101. In this case, theelectronic device 101 may be detecting external voice using themicrophone (e.g., the microphone 201 of FIG. 2A and/or 2B) to convertthe detected external voice into data and store it using the recordingapplication.

According to an embodiment, the execution screen 1103 of the recordingapplication may include various pieces of information related to therecording application. For example, the execution screen 1103 mayinclude information 1105 about the recording time (e.g., elapsed timeafter the recording function is executed) of the recording applicationand/or information 1107 about the waveform related to the recorded voice(e.g., waveform indicating the magnitude of the recorded voice).According to an embodiment, the execution screen 1103 may include iconsrelated to the functions of the recording application. For example, theexecution screen 1103 may include a first icon 1109 a for providing arecording start function, a second icon 1109 b for providing a recordingpause function, and/or a third icon 1109 c for providing a recordingstop function.

According to an embodiment, the form of the electronic device 101 may bechanged according to a relative movement of the first housing (e.g., thefirst housing 501 of FIG. 5B) and the second housing (e.g., the secondhousing 503 of FIG. 5B) of the electronic device 101. The form of theelectronic device 101 shown in FIG. 11 may be a form corresponding toStep 1 of FIG. 5B. According to an embodiment, if the form of theelectronic device 101 is changed into the second form (e.g., the formcorresponding to Step 1 of FIG. 5B) according to a relative movement ofthe first housing 501 and the second housing 503 of the electronicdevice 101, a mechanical impact sound 1104 may be generated due toimpact between the structures (e.g., the first housing 501 and thesecond housing 503) in the electronic device 101. According to anembodiment, the electronic device 101 may provide a user interface forallowing the user to set (or change) to perform noise data (e.g.,reference data)-based noise processing if identifying that the form ofthe electronic device 101 is changed into the second form when it is setnot to perform noise data (e.g., reference data)-based noise processingor when it is not previously set whether to perform noise data (e.g.,reference data)-based noise processing. For example, referring to FIG.11 , upon identifying that the form of the electronic device 101 ischanged into the second form, the electronic device 101 may display auser interface (e.g., a notification message 1111) in a popup form.According to an embodiment, the displayed user interface (e.g., thenotification message 1111) may include information (e.g., “Mechanicalimpact has been detected. Do you want to remove the mechanical impactand keep recording?”) indicating that mechanical impact sound may beincluded during voice recording. According to an embodiment, thedisplayed user interface (e.g., the notification message 1111) mayinclude a confirm button 1113 a and/or a reject button 1113 b. Accordingto an embodiment, if the confirm button 1113 a is selected (e.g.,touched) by the user, the electronic device 101 may perform noise data(e.g., reference data)-based noise processing on the audio data (e.g.,first audio data) obtained before or after the time of a change of theform of the electronic device 101 into the second form or the time ofselection of the confirm button 1113 a by the user, obtaining the secondaudio data and providing the second audio data to the recordingapplication. According to an embodiment, if the reject button 1113 b isselected (e.g., touched) by the user, the electronic device 101 maybypass (e.g., without performing noise data (e.g., reference data)-basednoise processing) the audio data (e.g., first audio data) obtainedbefore or after the time of a change of the form of the electronicdevice 101 into the second form or the time of selection of the confirmbutton 1113 a by the user and provide it to the recording application.

According to an embodiment, an electronic device (e.g., the electronicdevice 101 of FIG. 1 ) may include a first housing (e.g., the firsthousing 501 FIG. 5A, 5B, 5C, or 5D), a second housing (e.g., the secondhousing 503 of FIG. 5A, 5B, 5C, or 5D) connected with at least a portionof the first housing and movable with respect to the first housing, atleast one display (e.g., the display module 160 of FIG. 1 ) coupled withat least one of the first housing or the second housing, at least onemicrophone (e.g., the microphone 201 of FIG. 2A and/or 2B), at least onesensor (e.g., the sensor 203 of FIG. 2A and/or 2B), and at least oneprocessor (e.g., the processor 120 of FIG. 1 ). The at least oneprocessor may be configured to obtain first audio data, using the atleast one microphone, identify that a form of the electronic device ischanged according to a relative movement of the first housing and thesecond housing, using the at least one sensor, while the first audiodata is obtained, identify noise data based on identifying that the formof the electronic device is changed, and obtain second audio data fromthe first audio data, based on the identified noise data. The secondaudio data may include data in which at least a portion of noise, whichis generated based on a change of the form of the electronic device andincluded in the first audio data, is reduced or canceled.

According to an embodiment, the at least one processor may be furtherconfigured to receive a first signal from the at least one sensor, basedon the form of the electronic device being a first form, and receive asecond signal from the at least one sensor, based on the form of theelectronic device from the first form to a second form.

According to an embodiment, the at least one processor may be configuredto identify a speed of a change of the form of the electronic device,based on a difference between a time point of reception of the firstsignal and a time point of reception of the second signal when thesecond signal is received, and identify the noise data corresponding tothe identified speed.

According to an embodiment, the at least one processor may be configuredto perform noise processing based on the identified noise data on thefirst audio data obtained within a predesignated time from a time pointof reception of the second signal.

According to an embodiment, the at least one processor may be configuredto identify first noise data as the noise data, based on a change of theform of the electronic device into a second form, and identify secondnoise data as the noise data, based on a change of the form of theelectronic device into a third form. The first noise data and the secondnoise data may differ from each other.

According to an embodiment, the electronic device may further comprise amemory. A plurality of noise data may be pre-stored in the memory. Eachof the plurality of pre-stored noise data may include information abouta noise pattern corresponding to at least one of a speed of a change ofthe form of the electronic device or a changed form of the electronicdevice. Any one of the plurality of pre-stored noise data may beidentified as the noise data.

According to an embodiment, the at least one processor may be furtherconfigured to provide the first audio data to an application, based onidentifying that the form of the electronic device is not changed, andprovide the second audio data to the application, based on identifyingthat the form of the electronic device is changed.

According to an embodiment, the at least one processor may be furtherconfigured to execute an application, if the executed application is afirst application, provide the first audio data or the second audio datato the first application according to whether the form of the electronicdevice is changed, and, if the executed application is a secondapplication, provide the first audio data-based data to the secondapplication regardless of whether the form of the electronic device ischanged.

According to an embodiment, the at least one processor may include a DSPand/or an AP. The DSP may be configured to transfer at least one audiodata of the first audio data or the second audio data to a buffer of theAP. The AP may be configured to provide the at least one audio datatransferred to the buffer to an application running on the electronicdevice.

According to an embodiment, the second housing may be hinge-coupled withat least a portion of the first housing.

According to an embodiment, a method for controlling an electronicdevice may include obtaining first audio data, using at least onemicrophone of the electronic device, identifying that a form of theelectronic device is changed according to a relative movement of a firsthousing of the electronic device and a second housing of the electronicdevice, using at least one sensor of the electronic device, while thefirst audio data is obtained, identifying noise data based onidentifying that the form of the electronic device is changed, andobtaining second audio data from the first audio data, based on theidentified noise data. The second audio data may include data in whichat least a portion of noise, which is generated based on a change of theform of the electronic device and included in the first audio data, isreduced or canceled.

According to an embodiment, the method of controlling the electronicdevice may further comprise receiving a first signal from the at leastone sensor, based on the form of the electronic device being a firstform and receiving a second signal from the at least one sensor, basedon a change of the form of the electronic device from the first form toa second form.

According to an embodiment, identifying the noise data, based onidentifying that the form of the electronic device is changed, mayinclude identifying a speed of a change of the form of the electronicdevice, based on a difference between a time point of reception of thefirst signal and a time of reception of the second signal when thesecond signal is received, and identifying the noise data correspondingto the identified speed.

According to an embodiment, obtaining the second audio data from thefirst audio data, based on the identified noise data, may includeperforming noise processing based on the identified noise data on thefirst audio data obtained within a predesignated time point from a timeof reception of the second signal.

According to an embodiment, identifying the noise data, based onidentifying that the form of the electronic device is changed, mayinclude identifying first noise data as the noise data, based on achange of the form of the electronic device into a second form andidentifying second noise data as the noise data, based on a change ofthe form of the electronic device into a third form. The first noisedata and the second noise data may differ from each other.

According to an embodiment, the electronic device may further comprise amemory. A plurality of noise data may be pre-stored in the memory. Eachof the plurality of pre-stored noise data may include information abouta noise pattern corresponding to at least one of a speed of a change ofthe form of the electronic device or a changed form of the electronicdevice. Any one of the plurality of pre-stored noise data may beidentified as the noise data.

According to an embodiment, the method of controlling the electronicdevice may further comprise providing the first audio data to anapplication, based on identifying that the form of the electronic deviceis not changed, and providing the second audio data to the application,based on identifying that the form of the electronic device is changed.

According to an embodiment, the method of controlling the electronicdevice may further comprise executing an application, if the executedapplication is a first application, providing the first audio data orthe second audio data to the first application according to whether theform of the electronic device is changed, and if the executedapplication is a second application, providing the first audiodata-based data to the second application regardless of whether the formof the electronic device is changed.

According to an embodiment, the method of controlling the electronicdevice may further comprise transferring at least one audio data offirst audio data or second audio data to a buffer of an AP of theelectronic device and providing the at least one audio data transferredto the buffer to an application running on the electronic device.

According to an embodiment, a non-transitory computer-readablenon-volatile recording medium may store instructions that, whenexecuted, enable at least one processor of an electronic device toobtain first audio data, using at least one microphone of the electronicdevice, identify that a form of the electronic device is changedaccording to a relative movement of a first housing of the electronicdevice and a second housing of the electronic device, using at least onesensor of the electronic device, while the first audio data is obtained,identify noise data based on identifying that the form of the electronicdevice is changed, and obtain second audio data from the first audiodata, based on the identified noise data. The second audio data mayinclude data in which at least a portion of noise, which is generatedbased on a change of the form of the electronic device and included inthe first audio data, is reduced or canceled.

The electronic device according to various embodiments of the disclosuremay be one of various types of electronic devices. The electronicdevices may include, for example, a portable communication device (e.g.,a smartphone), a computer device, a portable multimedia device, aportable medical device, a camera, a wearable device, a home applianceor the like. According to an embodiment of the disclosure, theelectronic devices are not limited to those described above.

It should be appreciated that various embodiments of the presentdisclosure and the terms used therein are not intended to limit thetechnological features set forth herein to particular embodiments andinclude various changes, equivalents, or replacements for acorresponding embodiment. With regard to the description of thedrawings, similar reference numerals may be used to refer to similar orrelated elements. It is to be understood that a singular form of a nouncorresponding to an item may include one or more of the things, unlessthe relevant context clearly indicates otherwise. As used herein, eachof such phrases as “A or B,” “at least one of A and B,” “at least one ofA or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least oneof A, B, or C,” may include all possible combinations of the itemsenumerated together in a corresponding one of the phrases. As usedherein, such terms as “1st” and “2nd,” or “first” and “second” may beused to simply distinguish a corresponding component from another, anddo not limit the components in other aspects (e.g., importance ororder). If an element (e.g., a first element) is referred to, with orwithout the term “operatively” or “communicatively”, as “coupled with,”“coupled to,” “connected with,” or “connected to” another element (e.g.,a second element), the element may be coupled with the other elementdirectly (e.g., wiredly), wirelessly, or via a third element.

As used herein, the term “module” may include a unit implemented inhardware, software, or firmware, or any combination thereof, and mayinterchangeably be used with other terms, for example, “logic,” “logicblock,” “part,” or “circuitry”. A module may be a single integralcomponent, or a minimum unit or part thereof, adapted to perform one ormore functions. For example, according to an embodiment, the module maybe implemented in a form of an application-specific integrated circuit(ASIC).

Various embodiments as set forth herein may be implemented as software(e.g., the program 140) including one or more instructions that arestored in a storage medium (e.g., internal memory 136 or external memory138) that is readable by a machine (e.g., the electronic device 101).For example, a processor (e.g., the processor 120) of the machine (e.g.,the electronic device 101) may invoke at least one of the one or moreinstructions stored in the storage medium, and execute it, with orwithout using one or more other components under the control of theprocessor. This allows the machine to be operated to perform at leastone function according to the at least one instruction invoked. The oneor more instructions may include a code generated by a compiler or acode executable by an interpreter. The machine-readable storage mediummay be provided in the form of a non-transitory storage medium. The term“non-transitory” may simply refer, for example, to the storage mediumbeing a tangible device, and does not include a signal (e.g., anelectromagnetic wave), but this term does not differentiate betweenwhere data is semi-permanently stored in the storage medium and wherethe data is temporarily stored in the storage medium.

According to an embodiment, a method according to various embodiments ofthe disclosure may be included and provided in a computer programproduct. The computer program products may be traded as commoditiesbetween sellers and buyers. The computer program product may bedistributed in the form of a machine-readable storage medium (e.g.,compact disc read only memory (CD-ROM)), or be distributed (e.g.,downloaded or uploaded) online via an application store (e.g., PlayStore™), or between two user devices (e.g., smartphones) directly. Ifdistributed online, at least part of the computer program product may betemporarily generated or at least temporarily stored in themachine-readable storage medium, such as memory of the manufacturer'sserver, a server of the application store, or a relay server.

According to various embodiments, each component (e.g., a module or aprogram) of the above-described components may include a single entityor multiple entities. Some of the plurality of entities may beseparately disposed in different components. According to variousembodiments, one or more of the above-described components may beomitted, or one or more other components may be added. Alternatively oradditionally, a plurality of components (e.g., modules or programs) maybe integrated into a single component. In such a case, according tovarious embodiments, the integrated component may still perform one ormore functions of each of the plurality of components in the same orsimilar manner as they are performed by a corresponding one of theplurality of components before the integration. According to variousembodiments, operations performed by the module, the program, or anothercomponent may be carried out sequentially, in parallel, repeatedly, orheuristically, or one or more of the operations may be executed in adifferent order or omitted, or one or more other operations may beadded.

While the disclosure has been illustrated and described with referenceto various example embodiments, it will be understood that the variousexample embodiments are intended to be illustrative, not limiting. Itwill be further understood by those skilled in the art that variouschanges in form and detail may be made without departing from the truespirit and full scope of the disclosure, including the appended claimsand their equivalents. It will also be understood that any of theembodiment(s) described herein may be used in conjunction with any otherembodiment(s) described herein.

What is claimed is:
 1. An electronic device comprising: a first housing;a second housing connected with at least a portion of the first housingand movable with respect to the first housing; at least one displaycoupled with at least one of the first housing or the second housing; atleast one microphone; at least one sensor; and at least one processor,wherein the at least one processor is configured to: obtain first audiodata, using the at least one microphone, identify that a form of theelectronic device is changed according to a relative movement of thefirst housing and the second housing, using the at least one sensor,while the first audio data is obtained, identify noise data based onidentifying that the form of the electronic device is changed, andobtain second audio data from the first audio data, based on theidentified noise data, and wherein the second audio data includes datain which at least a portion of noise, which is generated based on achange of the form of the electronic device and included in the firstaudio data, is reduced.
 2. The electronic device of claim 1, wherein theat least one processor is further configured to: receive a first signalfrom the at least one sensor, based on the form of the electronic devicebeing a first form, and receive a second signal from the at least onesensor, based on a change of the form of the electronic device from thefirst form to a second form.
 3. The electronic device of claim 2,wherein the at least one processor is configured to: identify a speed ofa change of the form of the electronic device, based on a differencebetween a time point of reception of the first signal and a time pointof reception of the second signal when the second signal is received,and identify the noise data corresponding to the identified speed. 4.The electronic device of claim 2, wherein the at least one processor isconfigured to perform noise processing based on the identified noisedata on the first audio data obtained within a predesignated time from atime point of reception of the second signal.
 5. The electronic deviceof claim 1, wherein the at least one processor is configured to:identify first noise data as the noise data, based on a change of theform of the electronic device into a second form, and identify secondnoise data as the noise data, based on a change of the form of theelectronic device into a third form, and wherein the first noise dataand the second noise data differ from each other.
 6. The electronicdevice of claim 1, further comprising a memory, wherein a plurality ofnoise data are pre-stored in the memory, wherein each of the pluralityof pre-stored noise data includes information about a noise patterncorresponding to at least one of a speed of a change of the form of theelectronic device or a changed form of the electronic device, andwherein any one of the plurality of pre-stored noise data is identifiedas the noise data.
 7. The electronic device of claim 1, wherein the atleast one processor is further configured to: provide the first audiodata to an application, based on identifying that the form of theelectronic device is not changed, and provide the second audio data tothe application, based on identifying that the form of the electronicdevice is changed.
 8. The electronic device of claim 1, wherein the atleast one processor is further configured to: execute an application, ifthe executed application is a first application, provide the first audiodata or the second audio data to the first application according towhether the form of the electronic device is changed, and if theexecuted application is a second application, provide the first audiodata-based data to the second application regardless of whether the formof the electronic device is changed.
 9. The electronic device of claim1, wherein the at least one processor includes a digital signalprocessor (DSP) and an application processor (AP), wherein the DSP isconfigured to transfer at least one audio data of the first audio dataor the second audio data to a buffer of the AP, and wherein the AP isconfigured to provide the at least one audio data transferred to thebuffer to an application running on the electronic device.
 10. Theelectronic device of claim 1, wherein the second housing ishinge-coupled with at least a portion of the first housing.
 11. A methodfor controlling an electronic device, the method comprising: obtainingfirst audio data, using at least one microphone of the electronicdevice; identifying that a form of the electronic device is changedaccording to a relative movement of a first housing of the electronicdevice and a second housing of the electronic device, using at least onesensor of the electronic device, while the first audio data is obtained;identifying noise data based on identifying that the form of theelectronic device is changed; and obtaining second audio data from thefirst audio data, based on the identified noise data, wherein the secondaudio data includes data in which at least a portion of noise, which isgenerated based on a change of the form of the electronic device andincluded in the first audio data, is reduced.
 12. The method of claim11, further comprising: receiving a first signal from the at least onesensor, based on the form of the electronic device being a first form;and receiving a second signal from the at least one sensor, based on achange of the form of the electronic device from the first form to asecond form.
 13. The method of claim 12, wherein identifying the noisedata, based on identifying that the form of the electronic device ischanged, includes: identifying a speed of a change of the form of theelectronic device, based on a difference between a time point ofreception of the first signal and a time point of reception of thesecond signal when the second signal is received; and identifying thenoise data corresponding to the identified speed.
 14. The method ofclaim 12, wherein obtaining the second audio data from the first audiodata, based on the identified noise data, includes performing noiseprocessing based on the identified noise data on the first audio dataobtained within a predesignated time point from a time of reception ofthe second signal.
 15. The method of claim 11, wherein identifying thenoise data, based on identifying that the form of the electronic deviceis changed, includes: identifying first noise data as the noise data,based on a change of the form of the electronic device into a secondform; and identifying second noise data as the noise data, based on achange of the form of the electronic device into a third form, andwherein the first noise data and the second noise data differ from eachother.
 16. The method of claim 11, further comprising: wherein aplurality of noise data are pre-stored in a memory of the electronicdevice, wherein each of the plurality of pre-stored noise data includesinformation about a noise pattern corresponding to at least one of aspeed of a change of the form of the electronic device or a changed formof the electronic device, and wherein any one of the plurality ofpre-stored noise data is identified as the noise data.
 17. The method ofclaim 11, further comprising: providing the first audio data to anapplication, based on identifying that the form of the electronic deviceis not changed, and providing the second audio data to the application,based on identifying that the form of the electronic device is changed.18. The method of claim 11, further comprising: executing anapplication, if the executed application is a first application,providing the first audio data or the second audio data to the firstapplication according to whether the form of the electronic device ischanged, and if the executed application is a second application,providing the first audio data-based data to the second applicationregardless of whether the form of the electronic device is changed. 19.The method of claim 11, further comprising: transferring at least oneaudio data of the first audio data or the second audio data to a bufferof an application processor (AP) of the electronic device, providing theat least one audio data transferred to the buffer to an applicationrunning on the electronic device.
 20. A storage medium storinginstructions, the instructions configured to be executed by at least oneprocessor of an electronic device to enable the electronic device toperform at least one operation, the at least one operation comprising:obtain first audio data, using the at least one microphone, identifythat a form of the electronic device is changed according to a relativemovement of the first housing and the second housing, using the at leastone sensor, while the first audio data is obtained, identify noise databased on identifying that the form of the electronic device is changed,obtain second audio data from the first audio data, based on theidentified noise data, and wherein the second audio data includes datain which at least a portion of noise, which is generated based on achange of the form of the electronic device and included in the firstaudio data, is reduced.